Download Dockerfile from DeepSoft-AI/deeplearn-course_recommender: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/spaces/DeepSoft-AI/deeplearn-course_recommender/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/DeepSoft-AI/deeplearn-course_recommender/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/DeepSoft-AI/deeplearn-course_recommender/resolve/main/Dockerfile
281 Bytes
| FROM python:3.9 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| RUN mkdir /.cache && chmod 777 /.cache | |
| COPY . . | |
| CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "--timeout", "300", "main:app"] | |