fix: remove user instruction in dockerfile
This commit is contained in:
parent
ec8e422eb5
commit
59386e744a
1 changed files with 1 additions and 5 deletions
|
@ -31,7 +31,7 @@ WORKDIR /
|
|||
|
||||
WORKDIR /api
|
||||
COPY ./packages/system-api/package.json /api/
|
||||
COPY --from=builder --chown=node:node /api/dist /api/dist
|
||||
COPY --from=builder /api/dist /api/dist
|
||||
|
||||
WORKDIR /dashboard
|
||||
COPY --from=builder /dashboard/next.config.js ./
|
||||
|
@ -40,8 +40,4 @@ COPY --from=builder /dashboard/package.json ./package.json
|
|||
COPY --from=builder --chown=node:node /dashboard/.next/standalone ./
|
||||
COPY --from=builder --chown=node:node /dashboard/.next/static ./.next/static
|
||||
|
||||
RUN mkdir -p /app/logs
|
||||
|
||||
USER node
|
||||
|
||||
WORKDIR /
|
Loading…
Add table
Reference in a new issue