Skip to content

Commit

Permalink
build: 使用pnpm包管理器打包部署
Browse files Browse the repository at this point in the history
  • Loading branch information
wsvaio committed Nov 15, 2024
1 parent 820f0e9 commit f9e78f8
Show file tree
Hide file tree
Showing 2 changed files with 10,583 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ COPY . .
ARG DATABASE_URL
ENV DATABASE_URL=${DATABASE_URL}

RUN npm install
RUN npx prisma migrate deploy
RUN npm run build
RUN pnpm install
RUN pnpm dlx prisma migrate deploy
RUN pnpm run build


FROM node:alpine as prod
Expand Down
Loading

0 comments on commit f9e78f8

Please sign in to comment.