Pnpm-ify dockerfile
This commit is contained in:
parent
abbb4a26ac
commit
6197331f20
@ -1,8 +1,10 @@
|
|||||||
FROM node:lts-slim AS build
|
FROM node:lts-slim AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN corepack enable pnpm
|
||||||
|
|
||||||
COPY package.json package.json
|
COPY package.json package.json
|
||||||
RUN npm install
|
RUN pnpm install
|
||||||
|
|
||||||
COPY public/ public
|
COPY public/ public
|
||||||
COPY src/ src
|
COPY src/ src
|
||||||
|
Loading…
Reference in New Issue
Block a user