change from cmd to entrypoint as buildkit is starting to complain

This commit is contained in:
41666 2020-12-13 17:43:14 -05:00
parent 16b614c180
commit e0a2711459

View file

@ -17,9 +17,8 @@ RUN yarn install --frozen-lockfile --prod
# Output layer
#
FROM mhart/alpine-node:slim-14 AS output
ENTRYPOINT []
COPY --from=builder /src .
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"]