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