textClassificator / Dockerfile
Bagi4's picture
fix: Dockerfile
5576075
raw
history blame contribute delete
280 Bytes
FROM python:3.9
COPY . .
RUN export TRANSFORMERS_CACHE=/blabla/cache/
RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
RUN pip install --upgrade -r requirements.txt
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]