3_Facial_Recognition_simple / docker-compose.yml
EddyGiusepe's picture
Minha App com OpenCV e Flask
30628ca
raw
history blame contribute delete
628 Bytes
version: '3'
services:
flask_opencv:
build:
context: Dockerfile
image: image_flask_opencv
ports:
- "5000:5000"
environment:
- FLASK_APP=main.py
restart: always
# Podemos usar REDES, se tivermos vários contêineres que precisam se comunicar entre si e com
# o mundo exterior.
# version: '3'
# services:
# flask_opencv:
# build:
# context: Dockerfile
# image: image_flask_opencv
# ports:
# - "5000:5000"
# environment:
# - FLASK_APP=main.py
# restart: always
# networks:
# - minha_rede
# networks:
# minha_rede:
# driver: bridge