From 9afa9c90caa65fcc7a9cb7278e7cbe488215973e Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 14 Apr 2024 17:50:39 +0100 Subject: [PATCH] fix dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 56d791e..93b45f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +CMD node server.js \ No newline at end of file