9 lines
160 B
Docker
9 lines
160 B
Docker
|
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"]
|