Skip to content

Commit

Permalink
copy all in prod stage
Browse files Browse the repository at this point in the history
  • Loading branch information
tahsinature committed May 20, 2024
1 parent 9ec8509 commit 94c0f6c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ ENV NODE_ENV=production


# COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./package.json
COPY --from=builder /app/public ./public
# COPY --from=builder /app/.next ./.next
# COPY --from=builder /app/node_modules ./node_modules
# COPY --from=builder /app/package.json ./package.json
# COPY --from=builder /app/public ./public
COPY . .


CMD ["sh", "scripts/start-prod"]

Expand Down

0 comments on commit 94c0f6c

Please sign in to comment.