version: '3' | |
services: | |
gradiohf: | |
container_name: gradiohf | |
image: gradiohf-image | |
build: | |
context: . | |
dockerfile: Dockerfile_dev | |
volumes: | |
- ./:/home/user/app | |
working_dir: /home/user/app | |
environment: | |
- HF_TOKEN=${HF_TOKEN} | |
- MODEL=googleflan | |
stdin_open: true | |
tty: true | |
restart: always | |
ports: | |
- "7860:7860" |