feat: debug print at nextjs container start

This commit is contained in:
theoleuthardt 2025-02-28 11:47:55 +01:00
parent 1ef7f9f822
commit 2dad778d0e
3 changed files with 9 additions and 5 deletions

View file

@ -60,8 +60,9 @@ USER nextjs
EXPOSE 3000
ENV PORT=3000
# server.js is created by next build from the standalone output
# https://nextjs.org/docs/pages/api-reference/config/next-config-js/output
ENV HOSTNAME="0.0.0.0"
CMD ["node", "server.js"]
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh"]