Spaces:
Running
Running
File size: 613 Bytes
f42ec01 a5fed35 f42ec01 a5fed35 f42ec01 775b8b4 f42ec01 |
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 |
version: '3.1'
services:
# nginx:
# image: nginx:latest
# container_name: nginx
# volumes:
# - ./:/comma-fixer
# - ./nginx.conf:/etc/nginx/conf.d/default.conf
# ports:
# - 8001:80
# networks:
# - my-network
# depends_on:
# - flask
comma-fixer:
build:
context: ./
dockerfile: Dockerfile
container_name: comma-fixer
command: uvicorn --host 0.0.0.0 --port 8000 "app:app"
ports:
- "8000:8000"
# volumes:
# - ./:/comma-fixer
# networks:
# my-network:
# aliases:
# - comma-fixer
#
#networks:
# my-network: |