Skip to content

Commit e2c3bb6

Browse files
committed
feat: add content directory to Dockerfile for improved build process
1 parent 7fccc35 commit e2c3bb6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ RUN chmod 644 ./package.json
6969
COPY --from=builder /app/.next/static ./.next/static
7070
RUN chown -R nextjs:nextjs ./.next/static && chmod -R 755 ./.next/static
7171

72+
COPY --from=builder /app/content ./content
73+
RUN chown -R nextjs:nextjs ./content && chmod -R 755 ./content
74+
7275
# We have no public yet
7376
# COPY --from=builder /app/public ./public
7477
# RUN chown -R nextjs:nextjs ./public && chmod -R 755 ./public

0 commit comments

Comments
 (0)