mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
ui needs to be receptive to $PORT
This commit is contained in:
parent
b62166abda
commit
9ba1334e2b
2 changed files with 2 additions and 2 deletions
|
@ -22,5 +22,5 @@ FROM base AS output
|
||||||
|
|
||||||
COPY --from=builder /src .
|
COPY --from=builder /src .
|
||||||
|
|
||||||
EXPOSE 3000
|
ENV PORT=6601
|
||||||
CMD yarn ui:prod
|
CMD yarn ui:prod
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"ui": "next dev -p 6601",
|
"ui": "next dev -p 6601",
|
||||||
"ui:build": "next build",
|
"ui:build": "next build",
|
||||||
"ui:prod": "next start"
|
"ui:prod": "cross-env next start -p ${PORT:-3000}"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chroma-js": "^2.1.0",
|
"chroma-js": "^2.1.0",
|
||||||
|
|
Loading…
Add table
Reference in a new issue