mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
change from cmd to entrypoint as buildkit is starting to complain
This commit is contained in:
parent
16b614c180
commit
e0a2711459
1 changed files with 1 additions and 2 deletions
|
@ -17,9 +17,8 @@ RUN yarn install --frozen-lockfile --prod
|
||||||
# Output layer
|
# Output layer
|
||||||
#
|
#
|
||||||
FROM mhart/alpine-node:slim-14 AS output
|
FROM mhart/alpine-node:slim-14 AS output
|
||||||
ENTRYPOINT []
|
|
||||||
|
|
||||||
COPY --from=builder /src .
|
COPY --from=builder /src .
|
||||||
|
|
||||||
ENV PORT=6601
|
ENV PORT=6601
|
||||||
CMD sh -c 'node node_modules/.bin/next start -p $PORT'
|
ENTRYPOINT [ "/bin/sh", "-c", "/usr/bin/node node_modules/.bin/next start -p $PORT"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue