Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files276 unmodified lines2772782792802812822832842 unmodified lines287288289290291292276 unmodified lines# ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββWORKDIR /app# Ensure .env file existsRUN touch /app/.env /app/scripts/run_tests.sh && chown user:user /app/.env /app/scripts/run_tests.shRUN chmod +x /app/scripts/run_tests.shEXPOSE ${APP_PORT}2 unmodified linesCMD curl -f http://localhost:${APP_PORT}/health || exit 1USER userRUN cd /app/apps/web && npm install && npm run build && nohup npm run serve &# Use Entrypoint to start DBs, then run the boot.py server276 unmodified lines2772782792802812822832 unmodified lines286287288289290291292276 unmodified lines# ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββWORKDIR /app# Ensure .env file existsRUN touch /app/.env && chown user:user /app/.envEXPOSE ${APP_PORT}2 unmodified linesCMD curl -f http://localhost:${APP_PORT}/health || exit 1USER userRUN mkdir /app/scripts && touch /app/scripts/run_tests.sh && chmod +x /app/scripts/run_tests.shRUN cd /app/apps/web && npm install && npm run build && nohup npm run serve &# Use Entrypoint to start DBs, then run the boot.py server
Dockerfile+2-2