File size: 651 Bytes
fa8ff66 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | version: "3.9"
services:
app:
build: .
container_name: sentiment_app
ports:
# Map host 8000 to container 7860 (Hugging Face default)
- "8000:7860"
# Chrome needs a larger /dev/shm to avoid crashes in headless mode
shm_size: "2gb"
environment:
- PYTHONUNBUFFERED=1
volumes:
# Persist wordcloud output between runs
- ./static/output:/home/user/app/static/output
# Mount a local model folder if you have one (optional)
# Rename or create the folder 'indoBERT-sentiment' in the project root
- ./indoBERT-sentiment:/home/user/app/indoBERT-sentiment
restart: unless-stopped
|