feat: prisma migrations

This commit is contained in:
diced
2024-12-28 15:51:59 -08:00
parent 6f044c6f35
commit 651efbc047
8 changed files with 413 additions and 125 deletions

View File

@@ -1,6 +1,7 @@
FROM node:20-alpine3.19 AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable pnpm
RUN corepack prepare pnpm@latest --activate
@@ -38,6 +39,8 @@ COPY --from=builder /zipline/.next ./.next
COPY --from=builder /zipline/mimes.json ./mimes.json
COPY --from=builder /zipline/code.json ./code.json
RUN pnpm build:prisma
# clean
RUN rm -rf /tmp/* /root/*