Spaces:
Sleeping
Sleeping
Download Dockerfile from nielitropar/webscraping: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/spaces/nielitropar/webscraping/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/nielitropar/webscraping/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/nielitropar/webscraping/resolve/main/Dockerfile
391 Bytes
| # Using Python 3.9 base image | |
| FROM python:3.9 | |
| # Set the working directory to /code | |
| WORKDIR /code | |
| # Copy requirements.txt to /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| # Install dependencies from requirements.txt | |
| RUN pip install -r requirements.txt | |
| # Copy the entire project content to /code | |
| COPY . /code | |
| # CMD to run Gunicorn | |
| CMD ["gunicorn", "main:app", "-b", "0.0.0.0:7860"] |