We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe49de3 commit fc8f79aCopy full SHA for fc8f79a
frontend/Dockerfile
@@ -32,12 +32,12 @@ WORKDIR /app
32
RUN addgroup --system --gid 1001 nodejs \
33
&& adduser --system --uid 1001 nextjs --ingroup nodejs
34
35
-# Remember to copy build artifacts from the builder stage
36
-# Make sure these paths align with your build output directories
+# Copy necessary files from builder stage
37
COPY --from=builder /app/.next ./.next
38
COPY --from=builder /app/node_modules ./node_modules
39
COPY --from=builder /app/package.json ./package.json
40
COPY --from=builder /app/public ./public
+COPY --from=builder /app/src ./src
41
42
USER nextjs
43
0 commit comments