[DEV] update the docker file position to prevent data insertion in docker when build
This commit is contained in:
parent
766db280f9
commit
66ecd70b16
@ -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
|
||||||
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user