fix dockerfile
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 49s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 49s
This commit is contained in:
parent
008da57aaa
commit
9afa9c90ca
@ -58,10 +58,10 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
|||||||
|
|
||||||
USER nextjs
|
USER nextjs
|
||||||
|
|
||||||
|
ENV HOSTNAME "0.0.0.0"
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
ENV PORT 80
|
ENV PORT 80
|
||||||
|
|
||||||
# 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
|
||||||
CMD HOSTNAME="0.0.0.0" node server.js
|
CMD node server.js
|
Loading…
Reference in New Issue
Block a user