colbert-xm-for-inference-api / docker-compose.yml
fdurant's picture
Add environment for local development and testing
4b3c9e4
version: "3.7"
services:
hf_endpoints_emulator:
build:
context: .
dockerfile: Dockerfile
container_name: hf_endpoints_emulator
command: ["--port", "4999", "--handler", "handler.py"]
volumes:
- $PWD:/workspace
- /var/run/docker.sock:/var/run/docker.sock
- $HOME/.cache/huggingface:/root/.cache/huggingface
env_file:
- settings.env
ports:
- 4999:4999