]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - start.sh
Remove unused ENV DEBIAN_FRONTEND
[perso/Immae/Projets/Nodejs/Surfer.git] / start.sh
index 9967ed8980c211d12e2e5fccc3d7e79c47bc339e..87cec0d6dc7c9bfe946b70adcabdc5b0ef1c440d 100755 (executable)
--- a/start.sh
+++ b/start.sh
@@ -4,5 +4,6 @@ set -eu
 
 export NODE_ENV=production
 
-cd /app/code
-app.js /app/data
+chown -R cloudron:cloudron /app/data
+
+/usr/local/bin/gosu cloudron:cloudron node /app/code/app.js /app/data