There may not be files there, so use -rf

This commit is contained in:
Daoud Clarke 2023-10-12 22:12:58 +01:00
parent b182e92b75
commit 973fe8198c

View file

@ -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/"
}
}
}