Download Dockerfile from alcex/gmn2a: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/spaces/alcex/gmn2a/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/alcex/gmn2a/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/alcex/gmn2a/resolve/main/Dockerfile
315 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y git | |
| RUN git clone https://github.com/renqabs/Gmn2a.git /app | |
| WORKDIR /app | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Command to run the application | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |