Add public directory creation in Dockerfile to ensure it exists during build process
This commit is contained in:
parent
01c01d516a
commit
ca68cabe76
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user