Spaces:
Paused
Paused
Download Dockerfile from FarelDeveloper/ivasms-api: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/spaces/FarelDeveloper/ivasms-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/FarelDeveloper/ivasms-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/FarelDeveloper/ivasms-api/resolve/main/Dockerfile
321 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # install git | |
| RUN apt-get update && apt-get install -y git | |
| # clone repo | |
| RUN git clone https://github.com/JadenAfrix1/IVASMS.git . | |
| # install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| ENV PORT=7860 | |
| ENV PYTHONUNBUFFERED=1 | |
| EXPOSE 7860 | |
| CMD ["python", "index.py"] |