chore: fix Dockerfile paths for copying built assets from builder stage

This commit is contained in:
tuna2134
2025-09-09 22:30:58 +09:00
parent 7255a71f0b
commit 9b0613f0b8

View File

@@ -18,8 +18,8 @@ ENV NODE_ENV=production
WORKDIR /usr/src WORKDIR /usr/src
COPY --chown=nonroot:nonroot ./public ./public COPY --chown=nonroot:nonroot ./public ./public
COPY --from=builder --chown=nonroot:nonroot /complete/standalone ./ COPY --from=builder --chown=nonroot:nonroot /src/.next/standalone ./
COPY --from=builder --chown=nonroot:nonroot /complete/static ./.next/static COPY --from=builder --chown=nonroot:nonroot /src/.next/static ./.next/static
USER nonroot USER nonroot
EXPOSE 3000 EXPOSE 3000