node-event-bot/Dockerfile
mightypanders d79abb3d93
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix dockerfile
2022-04-13 21:41:02 +02:00

12 lines
229 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","start"]