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.
orario/Dockerfile

16 lines
217 B
Docker

2 years ago
FROM node:18
2 years ago
RUN npm install -g pnpm
WORKDIR /app
# pnpm fetch richiede solo il file lock
COPY pnpm-lock.yaml ./
RUN pnpm fetch --prod
2 years ago
COPY . ./
RUN pnpm install -r --offline --prod
2 years ago
CMD ["pnpm", "run", "build"]