ui needs to be receptive to $PORT

This commit is contained in:
41666 2020-12-06 06:41:31 -05:00
parent b62166abda
commit 9ba1334e2b
2 changed files with 2 additions and 2 deletions

View file

@ -22,5 +22,5 @@ FROM base AS output
COPY --from=builder /src .
EXPOSE 3000
ENV PORT=6601
CMD yarn ui:prod

View file

@ -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",