fix: add public dir, fix Dockerfile public copy
This commit is contained in:
+2
-1
@@ -34,7 +34,8 @@ COPY --from=backend-builder /app/backend/package.json ./backend/
|
||||
# Copy frontend build (standalone mode)
|
||||
COPY --from=frontend-builder /app/frontend/.next/standalone ./frontend/
|
||||
COPY --from=frontend-builder /app/frontend/.next/static ./frontend/.next/static
|
||||
COPY --from=frontend-builder /app/frontend/public ./frontend/public
|
||||
# public dir may be empty — copy if exists
|
||||
COPY --from=frontend-builder /app/frontend/public/ ./frontend/public/
|
||||
|
||||
# Nginx config
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
Reference in New Issue
Block a user