Spaces:
Running
Running
Download Dockerfile from SZLHOLDINGS/frontier-console: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/SZLHOLDINGS/frontier-console/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/SZLHOLDINGS/frontier-console/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/SZLHOLDINGS/frontier-console/resolve/main/Dockerfile
253 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py ./app.py | |
| COPY static ./static | |
| EXPOSE 7860 | |
| ENV PYTHONUNBUFFERED=1 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |