Download Dockerfile from Thomas-L-debug/Real_Time_Climate_Fake_News: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/spaces/Thomas-L-debug/Real_Time_Climate_Fake_News/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Thomas-L-debug/Real_Time_Climate_Fake_News/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Thomas-L-debug/Real_Time_Climate_Fake_News/resolve/main/Dockerfile
378 Bytes
| FROM python:3.10 | |
| WORKDIR /home/app | |
| RUN apt-get update -y | |
| RUN apt-get install nano unzip -y | |
| RUN apt install curl -y | |
| RUN curl -fsSL https://get.deta.dev/cli.sh | sh | |
| COPY requirements.txt /dependencies/requirements.txt | |
| RUN pip install -r /dependencies/requirements.txt | |
| COPY . /home/app | |
| CMD gunicorn app:app --bind 0.0.0.0:$PORT --worker-class uvicorn.workers.UvicornWorker |