chore: use pnpm (#1533)

* chore: use pnpm

* chore: update
This commit is contained in:
boojack
2023-04-16 00:47:40 +08:00
committed by GitHub
parent a654a1cb88
commit 648634d376
9 changed files with 3867 additions and 3443 deletions

View File

@@ -2,13 +2,13 @@
FROM node:18.12.1-alpine3.16 AS frontend
WORKDIR /frontend-build
COPY ./web/package.json ./web/yarn.lock ./
COPY ./web/package.json ./web/pnpm-lock.yaml ./
RUN yarn
RUN npm install -g pnpm && pnpm i --frozen-lockfile
COPY ./web/ .
RUN yarn build
RUN pnpm build
# Build backend exec file.
FROM golang:1.19.3-alpine3.16 AS backend