Parcourir la source

Fix: HOSTNAME=0.0.0.0 (Next.js server.js читает HOSTNAME, не HOST)

neyrogovnarik il y a 1 mois
Parent
commit
6d1b952cc1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      frontend/Dockerfile

+ 1 - 1
frontend/Dockerfile

@@ -21,7 +21,7 @@ COPY --from=builder /app/public ./public
 COPY --from=builder /app/.next/standalone ./
 COPY --from=builder /app/.next/static ./.next/static
 
-ENV HOST=0.0.0.0
+ENV HOSTNAME=0.0.0.0
 RUN apk add --no-cache curl
 EXPOSE 3000
 CMD ["node", "server.js"]