Download Dockerfile from HugVPS/rdpgen: direct link, hf CLI and curl.
- Browser
- Download file 332 Bytes
-
https://huggingface.co/spaces/HugVPS/rdpgen/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/HugVPS/rdpgen/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/HugVPS/rdpgen/resolve/main/Dockerfile
332 Bytes
| # Use the official PHP image from the Docker Hub | |
| FROM php:8.1-cli | |
| # Set the working directory inside the container | |
| WORKDIR /var/www/html | |
| # Copy all files from the current directory to the working directory in the container | |
| COPY . . | |
| # Expose port 7860 | |
| EXPOSE 7860 | |
| # Start the PHP built-in server | |
| CMD ["php", "-S", "0.0.0.0:7860"] |