Spaces:
Runtime error
Runtime error
File size: 628 Bytes
30628ca |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
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
|