Skip to content

Commit

Permalink
🐞 fix: docker构建问题
Browse files Browse the repository at this point in the history
  • Loading branch information
gylove1994 committed Sep 16, 2024
1 parent 0b18e9e commit 18150a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ COPY --from=builder /usr/src/app/package.json ./
COPY --from=builder /usr/src/app/prisma ./prisma

# 安装仅生产环境需要的依赖
RUN npm install -g pnpm && pnpm install --prod
RUN npm install -g pnpm && pnpm install

# 暴露端口
EXPOSE 3000
Expand Down

0 comments on commit 18150a2

Please sign in to comment.