Spaces:
Running
Running
Download Dockerfile from mrsavage1/mofh-api-proxy: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/spaces/mrsavage1/mofh-api-proxy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mrsavage1/mofh-api-proxy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mrsavage1/mofh-api-proxy/resolve/main/Dockerfile
286 Bytes
| FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11-slim | |
| COPY requirements.txt /app/ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py /app/ | |
| COPY github_deploy.py /app/ | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |