Spaces:
Sleeping

File size: 412 Bytes
3cf7be5
 
 
 
 
 
 
 
 
 
 
 
50c9c08
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# central docker compose file
services:
  backend:
    build:
      context: .
    ports:
      - "8000:8000"
    volumes:
      - ./app:/app
    command: > 
      sh -c "uvicorn main:app --host 0.0.0.0 --port 8000 --reload"
    environment:
      - HF_TOKEN=${HF_TOKEN}  # the hugging face access token from the environment file
      - FRONTEND_URL=${FRONTEND_URL}  # the frontend URL from the environment file