Spaces:
Running
Running
File size: 332 Bytes
efc6467 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 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"]
|