Download Dockerfile from chartManD/PWExam: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/spaces/chartManD/PWExam/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/chartManD/PWExam/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/chartManD/PWExam/resolve/main/Dockerfile
247 Bytes
| FROM debian:12.6 | |
| EXPOSE 7860 | |
| RUN apt update -y | |
| RUN apt upgrade -y | |
| RUN apt install -y php | |
| #php8.2-mysql | |
| #RUN apt search pdo | grep php; | |
| RUN rm -rf /var/lib/apt/lists/* | |
| #RUN php -i | |
| COPY /app /app | |
| WORKDIR /app | |
| CMD ["bash","-c","php -S 0.0.0.0:7860"] |