1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

#5 fixed path for wait-for-it.sh

This commit is contained in:
Fedor Katurov 2021-05-12 10:55:29 +07:00
parent 81586f1cd6
commit 2fb478fa49

View file

@ -5,13 +5,14 @@ RUN rm -rf /app/*
COPY ./package.json . COPY ./package.json .
COPY ./yarn.lock . COPY ./yarn.lock .
COPY ./docker/wait-for-it.sh .
RUN yarn RUN yarn
COPY . . COPY . .
RUN yarn build RUN yarn build
WORKDIR /app/dist WORKDIR /app/dist
COPY ./docker/wait-for-it.sh .
EXPOSE ${EXPOSE} EXPOSE ${EXPOSE}
HEALTHCHECK --interval=5m --timeout=30s CMD curl -f http://localhost/ || kill -s 2 1 #HEALTHCHECK --interval=5m --timeout=30s CMD curl -f http://localhost/ || kill -s 2 1
CMD ["node", "./index.js"] CMD ["node", "./index.js"]