1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 07:25:19 +02:00

Copy app directory as node user

Signed-off-by: Six <23470032+6ixfalls@users.noreply.github.com>
This commit is contained in:
Six 2024-01-17 17:14:16 -08:00
parent 1fde5a15bd
commit b2b329e692
No known key found for this signature in database
GPG key ID: 00148D3869C21E43

View file

@ -20,6 +20,6 @@ FROM node:16.18.1-slim as prod
RUN apt-get update && apt-get install curl gawk -y RUN apt-get update && apt-get install curl gawk -y
WORKDIR /app WORKDIR /app
USER node USER node
COPY --from=builder /app . COPY --from=builder --chown=node:node /app .
CMD ["./env.sh", "npx", "next", "start"] CMD ["./env.sh", "npx", "next", "start"]