# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker # you will also find guides on how best to write your Dockerfile FROM ubuntu:22.04 # install curl RUN apt-get update && apt-get install -y curl && apt-get install -y git && \ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \ apt-get install -y git-lfs WORKDIR /code RUN git lfs clone https://huggingface.co/AskUI/pta-text-0.1 /code/model/ COPY ./requirements.txt /code/requirements.txt RUN apt-get install -y python3 python3-pip RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY . . CMD ["python3", "app.py"]