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

added common path for configs

This commit is contained in:
Fedor Katurov 2021-05-27 09:45:12 +07:00
parent ab80a4ab8d
commit 1b0a1f20d5
2 changed files with 1 additions and 1 deletions

View file

@ -1,7 +1,6 @@
FROM node:lts-fermium FROM node:lts-fermium
WORKDIR /app WORKDIR /app
#RUN rm -rf /app/*
COPY ./package.json . COPY ./package.json .
COPY ./yarn.lock . COPY ./yarn.lock .

View file

@ -23,6 +23,7 @@ services:
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- ${CONFIG_PATH}:/etc/bot/config.yml:ro - ${CONFIG_PATH}:/etc/bot/config.yml:ro
- ${CONFIG_PATH}:/app/dist/common:ro
entrypoint: ./wait-for-it.sh -t 90 db:5432 -- node ./index.js --config /etc/bot/config.yml entrypoint: ./wait-for-it.sh -t 90 db:5432 -- node ./index.js --config /etc/bot/config.yml
depends_on: depends_on:
- db - db