mirror of
https://github.com/marcogll/AnchorOS.git
synced 2026-03-15 10:24:26 +00:00
Fix Docker build - remove public folder copy
- Remove redundant public folder copy since standalone includes everything - Fix '/app/public: not found' error during docker build
This commit is contained in:
@@ -53,7 +53,7 @@ RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
|
||||
# Copiar archivos necesarios para producción (standalone)
|
||||
COPY --from=builder /app/public ./public
|
||||
# Next.js standalone ya incluye todo lo necesario
|
||||
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