From 66ecd70b16c954472f17e37928f9f83b17fff5fd Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 16 Jan 2020 20:55:59 +0100 Subject: [PATCH] [DEV] update the docker file position to prevent data insertion in docker when build --- back/docker-compose.yaml | 2 +- back/{ => src}/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename back/{ => src}/Dockerfile (96%) diff --git a/back/docker-compose.yaml b/back/docker-compose.yaml index 6bbe593..bf4ce73 100755 --- a/back/docker-compose.yaml +++ b/back/docker-compose.yaml @@ -1,7 +1,7 @@ version: '3' services: REST_video_service: - build: . + build: src restart: always image: yui.heero/video_rest_api container_name: video_rest_api diff --git a/back/Dockerfile b/back/src/Dockerfile similarity index 96% rename from back/Dockerfile rename to back/src/Dockerfile index f1abe9e..6293bc8 100755 --- a/back/Dockerfile +++ b/back/src/Dockerfile @@ -26,7 +26,7 @@ RUN pip3 install pymediainfo EXPOSE 80 -ADD src /application/ +ADD . /application/ WORKDIR /application/ CMD ["python3", "-u", "./app_video.py"]