Download Dockerfile from Mythus/PProxy2: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/spaces/Mythus/PProxy2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mythus/PProxy2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mythus/PProxy2/resolve/main/Dockerfile
363 Bytes
| # Use a specific version for the base image | |
| FROM python:3.8 | |
| # Set a working directory in the container | |
| WORKDIR /app | |
| # Install dependencies | |
| RUN pip install fastapi-proxy-lib[standard] | |
| RUN pip install uvicorn | |
| # Copy application files to the container at /app | |
| COPY . /app | |
| # Expose the desired port | |
| EXPOSE 8080 | |
| # Command to run the script | |
| CMD ["python","run.py"] | |