This commit is contained in:
2026-06-22 15:44:54 -05:00
parent f5ab324cca
commit 73d07e7f18
12 changed files with 385 additions and 42 deletions

View File

@@ -20,8 +20,9 @@ ENV NEXT_TELEMETRY_DISABLED=1
RUN addgroup --system --gid 1001 nodejs \
&& adduser --system --uid 1001 nextjs
# Standalone-Output enthält nur das Nötigste
COPY --from=builder /app/public ./public
# Standalone-Output enthält nur das Nötigste.
# publi[c] mit Glob: bricht nicht ab, falls der Ordner mal fehlt.
COPY --from=builder /app/publi[c] ./public
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static