cprm / Dockerfile
Zhuohan's picture
Add HF Spaces deployment and dataset-backed annotation storage
3f6201e
FROM python:3.10-slim
WORKDIR /app
COPY requirements-annotation.txt ./
RUN pip install --no-cache-dir -r requirements-annotation.txt
COPY . .
EXPOSE 7860
CMD ["python", "-m", "streamlit", "run", "scripts/annotation_app.py", "--server.address", "0.0.0.0", "--server.port", "7860", "--server.headless", "true", "--browser.gatherUsageStats", "false"]