diff --git a/Dockerfile b/Dockerfile index ef509a6..1578255 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,5 @@ WORKDIR /app COPY --from=builder /app ./ EXPOSE 3000 ENV PORT=3000 -CMD ["npx", "next", "start", "-p", "3000"] +CMD ["sh", "-c", "npx next start -p ${PORT} -H 0.0.0.0"]