From 973fe8198c3293c1192116940190da1fc47abffc Mon Sep 17 00:00:00 2001 From: Daoud Clarke Date: Thu, 12 Oct 2023 22:12:58 +0100 Subject: [PATCH] There may not be files there, so use -rf --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index 6b81cfa..aa982b3 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,7 @@ { "scripts": { "dokku": { - "predeploy": "rm -r /app/static/* && cp -r /front-end-build/* /app/static/" + "predeploy": "rm -rf /app/static/* && cp -r /front-end-build/* /app/static/" } } }