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:
parent
e2457eb8c8
commit
948f5ae67c
9 changed files with 265 additions and 11 deletions
15
docker/Dockerfile
Normal file
15
docker/Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue