Spaces:
Runtime error
Runtime error
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 | |