node-event-bot/Dockerfile
2022-03-06 17:59:45 +01:00

12 lines
231 B
Docker

FROM node:alpine as Build
ENV NODE_ENV=production
WORKDIR /app
COPY [ "yarn.lock", "package.json", "index.ts", "tsconfig.json", "./" ]
COPY server ./server
RUN yarn install --production
RUN yarn run build
CMD ["yarn run start"]