fix: Dockerfile can not build.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
727046805b
commit
541c9e6e8f
@ -2,7 +2,7 @@ FROM node:16-alpine as base
|
|||||||
RUN apk add --no-cache libc6-compat
|
RUN apk add --no-cache libc6-compat
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY pnpm-lock.yaml package.json ./
|
COPY pnpm-lock.yaml package.json ./
|
||||||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7 &&\
|
RUN npm i --location=global pnpm@7 &&\
|
||||||
pnpm i &&\
|
pnpm i &&\
|
||||||
pnpm build
|
pnpm build
|
||||||
COPY . .
|
COPY . .
|
||||||
|
Loading…
Reference in New Issue
Block a user