alexcdev1 hai 8 meses
pai
achega
9ff8c13c3d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Dockerfile.prod

+ 1 - 0
Dockerfile.prod

@@ -48,6 +48,7 @@ RUN adduser --system --uid 1001 nextjs
 # RUN mkdir -p /app/public/uploads && chown -R nextjs:nodejs /app/public
 
 # 复制必要文件
+COPY --from=builder /app/next.config.mjs ./
 COPY --from=builder /app/public ./public
 COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
 COPY --from=builder /app/node_modules ./node_modules