From b123e9973b880d61de429aa23a6024347a4b535c Mon Sep 17 00:00:00 2001 From: H4CK3R-01 Date: Sat, 12 Mar 2022 20:05:46 +0100 Subject: [PATCH] Update Dockerfile --- telegram_bot/Dockerfile | 4 ++-- webservice/Dockerfile | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/telegram_bot/Dockerfile b/telegram_bot/Dockerfile index e22afcf..2d3a580 100644 --- a/telegram_bot/Dockerfile +++ b/telegram_bot/Dockerfile @@ -2,11 +2,11 @@ FROM python:3.10-alpine WORKDIR /srv/flask_app -COPY requirements.txt /srv/flask_app/ +COPY /telegram_bot/requirements.txt /srv/flask_app/ RUN pip install -r requirements.txt --src /usr/local/src --no-warn-script-location -COPY .. /srv/flask_app +COPY ../telegram_bot /srv/flask_app RUN chmod +x ./deploy/start.sh RUN chmod +x ./deploy/healthcheck.sh diff --git a/webservice/Dockerfile b/webservice/Dockerfile index 5abea66..c64e522 100644 --- a/webservice/Dockerfile +++ b/webservice/Dockerfile @@ -3,12 +3,12 @@ FROM python:3.10-alpine WORKDIR /srv/flask_app RUN apk add nginx build-base libffi-dev curl uwsgi -COPY requirements.txt /srv/flask_app/ +COPY webservice/requirements.txt /srv/flask_app/ RUN pip install -r requirements.txt --src /usr/local/src --no-warn-script-location -COPY .. /srv/flask_app -COPY deploy/nginx.conf /etc/nginx +COPY ../webservice/ /srv/flask_app +COPY ../webservice/deploy/nginx.conf /etc/nginx RUN chmod +x ./deploy/start.sh RUN chmod +x ./deploy/healthcheck.sh