fix: empty public folder in frontend build

This commit is contained in:
2025-09-14 17:28:26 +01:00
parent e5a6db99b1
commit 9cdc8b86de

View File

@@ -25,9 +25,7 @@ ENV NEXT_TELEMETRY_DISABLED=1
RUN addgroup --system --gid 1001 nodejs RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs RUN adduser --system --uid 1001 nextjs
COPY --from=builder /app/public ./public RUN mkdir -p ./public .next
RUN mkdir .next
RUN chown nextjs:nodejs .next RUN chown nextjs:nodejs .next
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./