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:
parent
1fde5a15bd
commit
b2b329e692
1 changed files with 1 additions and 1 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue