ResearchHarness / Dockerfile
black-yt's picture
Create ResearchHarness Hugging Face Space
f209a8f
Raw
History Blame Contribute Delete
460 Bytes
FROM python:3.11-slim
WORKDIR /app
ENV PYTHONUNBUFFERED=1 \
PORT=7860 \
RH_SPACE_RUNS_DIR=/tmp/researchharness_space/runs
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bash \
ca-certificates \
curl \
git \
poppler-utils \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]