Thiago Hersan
add a writeable TRANSFORMERS_CACHE dir
2f12c9d
raw
history blame
269 Bytes
FROM python:3.8.15
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY app.py /code/app.py
COPY examples /code/examples
RUN mkdir -p /.cache/huggingface/hub
CMD ["python", "app.py"]