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:
parent
81586f1cd6
commit
2fb478fa49
1 changed files with 3 additions and 2 deletions
|
@ -5,13 +5,14 @@ RUN rm -rf /app/*
|
|||
|
||||
COPY ./package.json .
|
||||
COPY ./yarn.lock .
|
||||
COPY ./docker/wait-for-it.sh .
|
||||
|
||||
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
|
||||
#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