Download Dockerfile from THED2/Stacle: direct link, hf CLI and curl.
- Browser
- Download file 457 Bytes
-
https://huggingface.co/spaces/THED2/Stacle/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/THED2/Stacle/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/THED2/Stacle/resolve/main/Dockerfile
457 Bytes
| FROM php:8.1-apache | |
| RUN apt-get update && apt-get install -y libcurl4-openssl-dev pkg-config libssl-dev \ | |
| && docker-php-ext-install curl | |
| RUN sed -i 's/Listen 80/Listen 7860/' /etc/apache2/ports.conf \ | |
| && sed -i 's/<VirtualHost \*:80>/<VirtualHost \*:7860>/' /etc/apache2/sites-available/000-default.conf | |
| COPY stalker.php /var/www/html/stalker.php | |
| RUN chown -R www-data:www-data /var/www/html/stalker.php | |
| EXPOSE 7860 | |
| CMD ["apache2-foreground"] | |