Download Dockerfile from SpireLab/Syspin_Hackathon_api_server: direct link, hf CLI and curl.
- Browser
- Download file 746 Bytes
-
https://huggingface.co/SpireLab/Syspin_Hackathon_api_server/resolve/main/Dockerfile
- Command line
-
hf download hf://SpireLab/Syspin_Hackathon_api_server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/SpireLab/Syspin_Hackathon_api_server/resolve/main/Dockerfile
746 Bytes
| FROM ubuntu:22.04 | |
| WORKDIR /app | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y \ | |
| software-properties-common \ | |
| && add-apt-repository ppa:deadsnakes/ppa \ | |
| && apt-get update \ | |
| && apt-get install -y \ | |
| git \ | |
| python3.10 \ | |
| python3.10-dev \ | |
| python3-pip \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN ln -s /usr/bin/python3.10 /usr/bin/python | |
| RUN python --version | |
| RUN pip3 install --no-cache-dir fastapi python-multipart uvicorn | |
| RUN git clone https://github.com/PranavDBhat/LIMMITS-24-Coquiai.git /app/LIMMITS-24-Coquiai | |
| RUN cd /app/LIMMITS-24-Coquiai && \ | |
| pip3 install --no-cache-dir -r requirements.txt | |
| RUN cd /app/LIMMITS-24-Coquiai && \ | |
| pip3 install -e . | |
| ENTRYPOINT [ "python" ] |