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

#6 removed node_modules volume

This commit is contained in:
Fedor Katurov 2021-05-13 14:24:32 +07:00
parent 814f1ade78
commit b4dd6b93fd
2 changed files with 1 additions and 4 deletions

View file

@ -6,13 +6,12 @@ RUN rm -rf /app/*
COPY ./package.json .
COPY ./yarn.lock .
RUN yarn
COPY . .
RUN yarn
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"]

View file

@ -23,7 +23,6 @@ services:
- ${EXPOSE}:80
volumes:
- /etc/localtime:/etc/localtime:ro
- node_modules:/app/node_modules
entrypoint: ./wait-for-it.sh -t 90 db:5432 -- node ./index.js
depends_on:
- db
@ -34,4 +33,3 @@ services:
start_period: 5m
volumes:
bot-db:
node_modules: