Just use default 3000 and configure it otherwise as needed

This commit is contained in:
Gnarwhal 2024-10-05 20:09:11 +00:00
parent 8d03b11181
commit cc5e6acb6a
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174

View file

@ -44,10 +44,6 @@ COPY --from=builder --chown=nextjs:nextjs /app/.next/static ./.next/static
USER nextjs USER nextjs
EXPOSE 4730
ENV PORT=4730
# server.js is created by next build from the standalone output # server.js is created by next build from the standalone output
# https://nextjs.org/docs/pages/api-reference/next-config-js/output # https://nextjs.org/docs/pages/api-reference/next-config-js/output
ENV HOSTNAME="0.0.0.0" ENV HOSTNAME="0.0.0.0"