Skip to content

Commit fc8f79a

Browse files
committed
fix: dockerfile
1 parent fe49de3 commit fc8f79a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ WORKDIR /app
3232
RUN addgroup --system --gid 1001 nodejs \
3333
&& adduser --system --uid 1001 nextjs --ingroup nodejs
3434

35-
# Remember to copy build artifacts from the builder stage
36-
# Make sure these paths align with your build output directories
35+
# Copy necessary files from builder stage
3736
COPY --from=builder /app/.next ./.next
3837
COPY --from=builder /app/node_modules ./node_modules
3938
COPY --from=builder /app/package.json ./package.json
4039
COPY --from=builder /app/public ./public
40+
COPY --from=builder /app/src ./src
4141

4242
USER nextjs
4343

0 commit comments

Comments
 (0)