simple-api-duckduckgo/docker-compose.yaml
Andros Fenollosa 42da7c724e Update
2024-02-08 12:52:28 +01:00

16 lines
268 B
YAML

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"