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.

15 lines
248 B
Docker

2 years ago
FROM node:18
WORKDIR /app
RUN curl -f https://get.pnpm.io/v7.30.js | node - add --global pnpm
2 years ago
COPY ./pnpm-lock.yaml ./
RUN pnpm fetch
COPY ./ ./
RUN pnpm install -r --offline
RUN pnpm run build
EXPOSE 3000
CMD ["node", "dist/server/server.js"]