Thiago Hersan
give permissions to workdir dir
7801c68
raw
history blame
338 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
RUN chmod a+rwx -R /.cache/huggingface/hub
RUN chmod a+rwx -R /code
CMD ["python", "app.py"]