fix: ensure public dir exists in developer-portal build
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:
@@ -12,7 +12,7 @@ RUN npm install
|
|||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Ensure public directory exists
|
# Ensure public directory exists (may not have static assets)
|
||||||
RUN mkdir -p public
|
RUN mkdir -p public
|
||||||
|
|
||||||
# Build the application
|
# Build the application
|
||||||
|
|||||||
Reference in New Issue
Block a user