Spaces:
Running
Running
Download Dockerfile from CodeXDevloper/1.78bapi: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/spaces/CodeXDevloper/1.78bapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/CodeXDevloper/1.78bapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/CodeXDevloper/1.78bapi/resolve/main/Dockerfile
309 Bytes
| FROM python:3.9 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| # Ye command background mein pinger chalayegi aur foreground mein app | |
| CMD ["sh", "-c", "python pinger.py & uvicorn app:app --host 0.0.0.0 --port 7860"] | |