fix dockerfile
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 49s

This commit is contained in:
Lee 2024-04-14 17:50:39 +01:00
parent 008da57aaa
commit 9afa9c90ca

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