DSN / docker-compose.yml
nexusbert's picture
Enhance Docker configuration by adding HUGGING_FACE_HUB_TOKEN as a build argument in docker-compose.yml and Dockerfile. Update Dockerfile to install CPU-only PyTorch and adjust thread counts for reduced memory usage during builds. Modify docker_build_assets.py to support both HF_TOKEN and HUGGING_FACE_HUB_TOKEN for model caching. Update README.md to clarify token usage and build instructions.
be705e8
raw
history blame contribute delete
356 Bytes
services:
api:
build:
context: .
dockerfile: Dockerfile
args:
HF_TOKEN: ${HF_TOKEN:-}
HUGGING_FACE_HUB_TOKEN: ${HUGGING_FACE_HUB_TOKEN:-}
image: dcn-llm-agent-challenge:latest
ports:
- "${HOST_PORT:-7860}:7860"
env_file:
- .env
environment:
PORT: "7860"
restart: unless-stopped