Update dockerfile

This commit is contained in:
DefectingCat
2022-08-23 15:24:49 +08:00
parent 2699d0de5c
commit e6dac29861

View File

@ -44,7 +44,7 @@ RUN adduser --system --uid 1001 nextjs
# You only need to copy next.config.js if you are NOT using the default configuration # You only need to copy next.config.js if you are NOT using the default configuration
COPY --from=builder /app/.env ./ COPY --from=builder /app/.env ./
COPY --from=builder /app/next.config.mjs ./ COPY --from=builder /app/next.config.mjs ./
# COPY --from=builder /app/public ./public COPY --from=builder /app/public ./public
# COPY --from=builder /app/package.json ./package.json # COPY --from=builder /app/package.json ./package.json
# Automatically leverage output traces to reduce image size # Automatically leverage output traces to reduce image size