diff --git a/telegram_bot/Dockerfile b/telegram_bot/Dockerfile index 2d3a580..9867659 100644 --- a/telegram_bot/Dockerfile +++ b/telegram_bot/Dockerfile @@ -6,7 +6,7 @@ COPY /telegram_bot/requirements.txt /srv/flask_app/ RUN pip install -r requirements.txt --src /usr/local/src --no-warn-script-location -COPY ../telegram_bot /srv/flask_app +COPY . /srv/flask_app RUN chmod +x ./deploy/start.sh RUN chmod +x ./deploy/healthcheck.sh diff --git a/webservice/Dockerfile b/webservice/Dockerfile index c64e522..01c9cac 100644 --- a/webservice/Dockerfile +++ b/webservice/Dockerfile @@ -7,8 +7,8 @@ COPY webservice/requirements.txt /srv/flask_app/ RUN pip install -r requirements.txt --src /usr/local/src --no-warn-script-location -COPY ../webservice/ /srv/flask_app -COPY ../webservice/deploy/nginx.conf /etc/nginx +COPY . /srv/flask_app +COPY ./deploy/nginx.conf /etc/nginx RUN chmod +x ./deploy/start.sh RUN chmod +x ./deploy/healthcheck.sh