mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-29 01:28:59 -05:00
chore: save caddy logs to caddy.log
This commit is contained in:
parent
93aacca9b4
commit
472c93d548
1 changed files with 4 additions and 1 deletions
|
@ -57,4 +57,7 @@ EXPOSE 3000
|
|||
HEALTHCHECK --interval=10s --timeout=3s CMD curl -f http://localhost:3000/api/health || exit 1
|
||||
|
||||
# Application startup updated for Caddy
|
||||
CMD cp -rn /tmp/img/* /opt/app/frontend/public/img && caddy run --config /etc/caddy/Caddyfile & PORT=3333 HOSTNAME=0.0.0.0 node frontend/server.js & cd backend && npm run prod
|
||||
CMD cp -rn /tmp/img/* /opt/app/frontend/public/img && \
|
||||
caddy run --config /etc/caddy/Caddyfile 2> caddy.log & \
|
||||
PORT=3333 HOSTNAME=0.0.0.0 node frontend/server.js & \
|
||||
cd backend && npm run prod
|
Loading…
Add table
Reference in a new issue