Explorar o código

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

neyrogovnarik hai 1 mes
pai
achega
6d1b952cc1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"]