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"] | |