forked from phc/orario
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
261 B
Docker
16 lines
261 B
Docker
2 years ago
|
FROM node:latest-alpine
|
||
|
|
||
|
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
# pnpm fetch richiede solo il file lock
|
||
|
COPY pnpm-lock.yaml ./
|
||
|
|
||
|
RUN pnpm fetch --prod
|
||
|
|
||
|
ADD . ./
|
||
|
RUN pnpm install -r --offline --prod
|
||
|
|
||
|
CMD pnpm run build
|