simple-api-duckduckgo/docker-compose.yaml

16 lines
268 B
YAML
Raw Permalink Normal View History

2024-02-08 12:52:28 +01:00
version: '3.8'
services:
api:
build:
context: ./
dockerfile: ./Dockerfile
container_name: ddg-api
restart: "no"
entrypoint: uvicorn main:app --host 0.0.0.0 --port 8000
volumes:
- .:/usr/src/app/
ports:
- "8000:8000"