Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Nov 6, 2023
1 parent 8f40519 commit ed8a598
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions packages/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@ WORKDIR /app
ENV NODE_ENV production
ENV NEXT_TELEMETRY_DISABLED 1

COPY --from=builder /app/packages/app/next.config.js .
COPY --from=builder /app/packages/app/package.json .
COPY --from=builder /app/packages/app/.env.production .
COPY --from=builder /app/packages/app/.env.development .
COPY --from=builder /app/packages/app/public ./public
COPY --from=builder /app/packages/app/node_modules ./node_modules
COPY --from=builder /app/packages/app/next.config.js packages/app
COPY --from=builder /app/packages/app/package.json packages/app
COPY --from=builder /app/packages/app/.env.production packages/app
COPY --from=builder /app/packages/app/.env.development packages/app
COPY --from=builder /app/packages/app/public packages/app/public
COPY --from=builder /app/packages/app/node_modules packages/app/node_modules
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder --chown=node:node /app/packages/app/.next ./.next
COPY --from=builder --chown=node:node /app/.yarn .yarn
COPY --from=builder --chown=node:node /app/.yarnrc.yml .

USER 1001

Expand Down

0 comments on commit ed8a598

Please sign in to comment.