fix: recover empty database migrations and persist Docker icons

This commit is contained in:
陈煜 committed 2026-10-05 19:44:18 +08:00
1 parent 2db0c75498
commit 35bd2e1828
20 files changed
+577 -62

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ RUN pnpm db:generate && pnpm build \
FROM base AS runtime
ENV NODE_ENV=production
ENV ICON_STORAGE_DIR=/app/data/icons
RUN mkdir -p /app/data/icons && chown -R node:node /app/data
# Preserve pnpm's workspace links and Prisma CLI for explicit release migrations.
COPY --from=build --chown=node:node /app/node_modules ./node_modules
COPY --from=build --chown=node:node /app/package.json /app/pnpm-workspace.yaml ./