fix: recover empty database migrations and persist Docker icons
This commit is contained in:
1 parent
2db0c75498
commit
35bd2e1828
20 files changed
+577
-62
No files matched your search
@@ -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 ./
|
||||
|
||||
Reference in new issue
Block a user