Spaces:
Sleeping
Sleeping
Download Dockerfile from iamvastava/HAR_API: direct link, hf CLI and curl.
- Browser
- Download file 771 Bytes
-
https://huggingface.co/spaces/iamvastava/HAR_API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/iamvastava/HAR_API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/iamvastava/HAR_API/resolve/main/Dockerfile
771 Bytes
| FROM python:3.9.2 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| RUN pip install fastapi uvicorn | |
| RUN pip install joblib==1.3.2 | |
| RUN pip install numpy==1.26.2 | |
| RUN pip install packaging==23.2 | |
| RUN pip install pydantic==2.5.2 | |
| RUN pip install pydantic-core==2.14.5 | |
| RUN pip install scikeras==0.12.0 | |
| RUN pip install scikit-learn==1.2.2 | |
| RUN pip install scipy==1.11.4 | |
| RUN pip install sniffio==1.3.0 | |
| RUN pip install starlette==0.27.0 | |
| RUN pip install tensorflow-io-gcs-filesystem==0.31.0 | |
| RUN pip install threadpoolctl==3.2.0 | |
| RUN pip install typing-extensions==4.8.0 | |
| RUN pip install unicorn==2.0.1.post1 | |
| RUN pip install xgboost | |
| COPY . . | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |