[DEV] update the docker file position to prevent data insertion in docker when build

This commit is contained in:
Edouard DUPIN 2020-01-16 20:55:59 +01:00
parent 766db280f9
commit 66ecd70b16
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
version: '3' version: '3'
services: services:
REST_video_service: REST_video_service:
build: . build: src
restart: always restart: always
image: yui.heero/video_rest_api image: yui.heero/video_rest_api
container_name: video_rest_api container_name: video_rest_api

View File

@ -26,7 +26,7 @@ RUN pip3 install pymediainfo
EXPOSE 80 EXPOSE 80
ADD src /application/ ADD . /application/
WORKDIR /application/ WORKDIR /application/
CMD ["python3", "-u", "./app_video.py"] CMD ["python3", "-u", "./app_video.py"]