diff --git a/Dockerfile b/Dockerfile index a3074abb..6a8606dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,7 @@ RUN pnpm install --prod --frozen-lockfile # Copy the built Next.js application and public assets COPY --from=builder /app/public ./public -COPY --from=builder /app/.next/standalone ./ +COPY --from=builder /app/.next ./.next # Change ownership to the non-root user RUN chown -R nextjs:nodejs /app