1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00
vk-tg-bot/docker/Dockerfile
2021-05-12 10:55:29 +07:00

18 lines
311 B
Docker

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
COPY ./docker/wait-for-it.sh .
EXPOSE ${EXPOSE}
#HEALTHCHECK --interval=5m --timeout=30s CMD curl -f http://localhost/ || kill -s 2 1
CMD ["node", "./index.js"]