diff --git a/Dockerfile b/Dockerfile index f8e4d4b..715acd7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,8 +48,10 @@ RUN cd /app/code && \ # Install Node dependencies and build assets RUN cd /app/code && \ + echo "APP_URL=http://localhost" > .env && \ npm install && \ npm run production && \ + rm -f .env && \ rm -rf node_modules && \ chown -R cloudron:cloudron /app/code/public