diff --git a/Dockerfile b/Dockerfile index 3e969dd1..636d108d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +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 \ No newline at end of file