Skip to content

Commit

Permalink
Actualizaciones pequeñas al docker-compose, Dockerfile del script de …
Browse files Browse the repository at this point in the history
…python y las versiones de los requerimientos
  • Loading branch information
slbejaranom committed Feb 24, 2021
1 parent 62c4912 commit 8d60749
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ services:
ports:
- 3000:3000
depends_on:
- "scriptfinal"
- scriptfinal
- mongo

scriptfinal:
build: ./scriptService
volumes:
- ./scriptService:/usr/src/scriptservice
- ./scriptService:/usr/src/scriptService
ports:
- 3500:3500
depends_on:
- "mongo"
- mongo

mongo:
container_name: mongo
Expand Down
2 changes: 1 addition & 1 deletion scriptService/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /usr/src/scriptService
COPY . .
EXPOSE 3500
#Instalamos dependencias
RUN apt-get update && apt-get -y install cmake protobuf-compiler
RUN apt-get update && apt-get -y install cmake protobuf-compiler ffmpeg libsm6 libxext6
RUN pip install -r requirements.txt
#Corremos
CMD ["script.py"]
Expand Down
2 changes: 2 additions & 0 deletions scriptService/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
imutils
Flask
tensorflow==2.4.0
opencv-contrib-python==4.4.0.46
dlib==19.21.1
Expand Down

0 comments on commit 8d60749

Please sign in to comment.