1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-25 06:56:40 +07:00

#4 fixed event handling

This commit is contained in:
Fedor Katurov 2021-05-06 18:04:24 +07:00
parent e2457eb8c8
commit 948f5ae67c
9 changed files with 265 additions and 11 deletions

15
docker/Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM node:lts-fermium
WORKDIR /app
RUN rm -rf /app/*
COPY ./package.json .
COPY ./yarn.lock .
RUN yarn
COPY . .
RUN yarn build
WORKDIR /app/dist
EXPOSE ${EXPOSE}
HEALTHCHECK --interval=5m --timeout=30s CMD curl -f http://localhost/ || kill -s 2 1
CMD ["node", "./index.js"]