Spaces:
Sleeping
Sleeping
File size: 532 Bytes
b451c6e |
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 |
version: '3.8'
services:
cloze-reader:
build: .
ports:
- "7860:7860"
environment:
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY:-}
- HF_API_KEY=${HF_API_KEY:-}
volumes:
- ./src:/app/src:ro
- ./index.html:/app/index.html:ro
restart: unless-stopped
dev-server:
image: python:3.9-slim
working_dir: /app
ports:
- "8000:8000"
volumes:
- .:/app
command: python -m http.server 8000
environment:
- PYTHONUNBUFFERED=1
profiles:
- dev |