diff --git a/hack/dockerfiles/ui.Dockerfile b/hack/dockerfiles/ui.Dockerfile index f4e4a00..be2ba82 100644 --- a/hack/dockerfiles/ui.Dockerfile +++ b/hack/dockerfiles/ui.Dockerfile @@ -22,5 +22,5 @@ FROM base AS output COPY --from=builder /src . -EXPOSE 3000 +ENV PORT=6601 CMD yarn ui:prod diff --git a/package.json b/package.json index e410781..39b3b9f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "test": "jest", "ui": "next dev -p 6601", "ui:build": "next build", - "ui:prod": "next start" + "ui:prod": "cross-env next start -p ${PORT:-3000}" }, "dependencies": { "chroma-js": "^2.1.0",