www/Dockerfile

19 lines
210 B
Docker
Raw Normal View History

FROM node:18
2022-03-31 15:22:41 +00:00
RUN yarn global add pnpm
RUN mkdir /app
COPY lib/ /app
RUN rm -f /app/.env
COPY package.json /app
COPY pnpm-lock.yaml /app
RUN cd /app && pnpm install
WORKDIR /app
CMD ["node", "index.js"]