fix: add migrations folder to Docker build

This commit is contained in:
cawcenter
2025-12-14 22:45:26 -05:00
parent b3fc118f5d
commit 8db5789c4f

View File

@@ -55,6 +55,11 @@ RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 astro RUN adduser --system --uid 1001 astro
# Copy artifacts # Copy artifacts
# Copy application code
COPY . .
# Ensure migrations are included
COPY migrations/ ./migrations/
COPY --from=builder /app/dist ./dist COPY --from=builder /app/dist ./dist
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules
COPY package.json ./ COPY package.json ./