Skip to content

Commit

Permalink
[skip ci] update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Dec 18, 2023
1 parent 0249865 commit 43637f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ WORKDIR /app
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs

# Set the correct permission for prerender cache
RUN mkdir .next
RUN chown nextjs:nodejs .next

COPY --from=builder /app/next.config.js ./
COPY --from=builder /app/public ./public
COPY --from=builder /app/package.json ./package.json
Expand Down

0 comments on commit 43637f9

Please sign in to comment.