Download Dockerfile from 1drv/link: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/spaces/1drv/link/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/1drv/link/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/1drv/link/resolve/main/Dockerfile
242 Bytes
| FROM ubuntu:22.04 | |
| RUN apt-get update | |
| RUN apt-get install -y apache2 | |
| RUN DEBIAN_FRONTEND=noninteractive apt-get install -y php | |
| WORKDIR /var/www/html | |
| COPY . /var/www/html | |
| EXPOSE 7860 | |
| CMD ["php", "-S", "0.0.0.0:7860", "-t", "/var/www/html"] |