extractor / Dockerfile
panduwana's picture
turn off lfs
2ca78bf
raw
history blame
256 Bytes
FROM python:latest
COPY . .
WORKDIR /
RUN pip install -r requirements.txt
RUN mkdir -p /transformers_cache && chmod -R 777 /transformers_cache
ENV HF_HOME=/transformers_cache
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]