math-annotation / Dockerfile
Shoir's picture
Deploy math annotation app
efc6467 verified
Raw History Blame Contribute Delete
332 Bytes
FROM python:3.9-slim
ENV PYTHONUNBUFFERED=1
ENV PORT=7860
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY config.yaml .
COPY hf_start.py .
COPY layouts ./layouts
COPY my-annotation-task ./my-annotation-task
RUN mkdir -p annotation_output
EXPOSE 7860
CMD ["python", "hf_start.py"]