Spaces:
No application file
No application file
File size: 760 Bytes
7e85237 f2ddd4c 7e85237 07554c9 d1009a4 7e85237 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | services:
huge-ifx-api:
container_name: huge-ifx-api
build:
context: ./api
target: base
volumes:
- ./api:/code
- .:/workspace
- root_hist:/root/history # i keep roots history across everything
- huggingface-cache:/root/.cache/huggingface
# - ~/.config/gcloud:/.config/gcloud
stdin_open: true
tty: true
ports:
- "8000:8000" # serving site
env_file:
- .env
environment:
DEBUG: false
DEV_MODE: true
# command: uvicorn server:app --reload --host 0.0.0.0 --port 8000 --reload --log-level debug
command: gradio server_gradio.py
volumes:
root_hist:
name: root_hist
external: true
huggingface-cache:
name: huggingface-cache
external: true |