HuggingChat / Dockerfile
likhonsheikh's picture
Update Dockerfile
688f2de verified
Raw
History Blame Contribute Delete
316 Bytes
# Use Hugging Face chat-ui-db image
FROM ghcr.io/huggingface/chat-ui-db:latest
# Spaces require the app to listen on port 7860
ENV PORT=7860
ENV HF_TOKEN=""
# Mount /data for persistence
VOLUME ["/data"]
# Expose the port Spaces expects
EXPOSE 7860
# ✅ Do NOT override CMD — let the base image handle startup