flags
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user