chessh_bot/Dockerfile

9 lines
160 B
Docker
Raw Permalink Normal View History

FROM node:alpine
WORKDIR /usr/chessh_bot
COPY package.json .
RUN npm install\
&& npm install typescript -g
COPY . .
RUN tsc
CMD ["node", "./dist/index.js"]