fix: ensure public dir exists in developer-portal build
Some checks failed
Deploy to Coolify / deploy (push) Has been cancelled

Next.js standalone COPY fails when no public directory exists in source.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-03-06 22:53:49 +01:00
parent 4e0ddea650
commit 5ce520bae6

View File

@@ -12,6 +12,9 @@ RUN npm install
# Copy source code
COPY . .
# Ensure public directory exists (may not have static assets)
RUN mkdir -p public
# Build the application
RUN npm run build