Redo frontend and dockerfile to use nginx and build in stages based on prod steps in romm

This commit is contained in:
2026-01-07 23:05:27 -05:00
parent 9e5f377768
commit 3f9cab66f5
5 changed files with 285 additions and 32 deletions

View File

@@ -1,12 +1,12 @@
[program:frontend]
priority=50
directory=/app/code/frontend
environment=HOME=/app/code
command=npm run dev
user=cloudron
directory=/tmp
command=/usr/sbin/nginx -g "daemon off;"
user=root
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0