Fix APP_PORT: make container listen port and healthcheck follow APP_PORT

Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-05 20:39:26 +00:00
parent e45de85c69
commit 22419106c1
3 changed files with 6 additions and 2 deletions

View File

@@ -54,6 +54,7 @@ RUN chmod +x docker-entrypoint.sh
USER nextjs
# Default port — overridden at runtime by the PORT env var (set via docker-compose APP_PORT)
EXPOSE 3000
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"