node-event-bot/Dockerfile

12 lines
213 B
Docker

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