Add public directory creation in Dockerfile to ensure it exists during build process

This commit is contained in:
T. Narantuya 2025-08-29 14:17:15 +09:00
parent 01c01d516a
commit ca68cabe76

View File

@ -42,6 +42,9 @@ COPY packages/shared/ ./packages/shared/
COPY apps/portal/ ./apps/portal/
COPY tsconfig.json ./
# Ensure public directory exists even if the repo doesn't have one
RUN mkdir -p /app/apps/portal/public
# Copy node_modules from deps stage
COPY --from=deps /app/node_modules ./node_modules
COPY --from=deps /app/packages/shared/node_modules ./packages/shared/node_modules