Update Dockerfile
This commit is contained in:
parent
b123e9973b
commit
e8dce91c1e
@ -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
|
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/start.sh
|
||||||
RUN chmod +x ./deploy/healthcheck.sh
|
RUN chmod +x ./deploy/healthcheck.sh
|
||||||
|
|
||||||
|
@ -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
|
RUN pip install -r requirements.txt --src /usr/local/src --no-warn-script-location
|
||||||
|
|
||||||
COPY ../webservice/ /srv/flask_app
|
COPY . /srv/flask_app
|
||||||
COPY ../webservice/deploy/nginx.conf /etc/nginx
|
COPY ./deploy/nginx.conf /etc/nginx
|
||||||
RUN chmod +x ./deploy/start.sh
|
RUN chmod +x ./deploy/start.sh
|
||||||
RUN chmod +x ./deploy/healthcheck.sh
|
RUN chmod +x ./deploy/healthcheck.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user