fix bind mount prisma, auto hydrate empty folder

This commit is contained in:
Zimeng Xiong
2025-11-22 20:25:07 -08:00
parent fb5fe1235c
commit 2e2b4ca455
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -36,8 +36,9 @@ COPY package*.json ./
# Install production dependencies only
RUN npm ci --only=production
# Copy prisma schema and migrations
# Copy prisma schema and migrations for runtime and hydration template
COPY prisma ./prisma/
COPY prisma ./prisma_template/
# Copy built application from builder
COPY --from=builder /app/dist ./dist