Spaces:
No application file
No application file
Download DockerFile from luthrabhuvan/Book_Recommender: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/spaces/luthrabhuvan/Book_Recommender/resolve/main/DockerFile
- Command line
-
hf download hf://spaces/luthrabhuvan/Book_Recommender/DockerFile
-
curl -L -o DockerFile https://huggingface.co/spaces/luthrabhuvan/Book_Recommender/resolve/main/DockerFile
296 Bytes
| FROM python:3.9-slim-buster | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| RUN chmod +x app.py # Make app.py executable <--- Add this line | |
| EXPOSE 5000 | |
| CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app"] | |
| # Or for Development | |
| # CMD ["python", "app.py"] |