glokta-cti / Dockerfile
Jake's picture
Upload Dockerfile with huggingface_hub
731b146 verified
Raw
History Blame Contribute Delete
460 Bytes
# cti-lite — single-container HF Space (or local) deployment.
# No database, no API server. Reads directly from the HF Dataset.
#
# Required secrets: HF_CTI_DATASET_REPO (e.g. Jake/glokta-cti)
# Optional secrets: HF_TOKEN (for private repos)
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV PYTHONUNBUFFERED=1
ENV GRADIO_SERVER_PORT=7860
EXPOSE 7860
CMD ["python", "app.py"]