Spaces:
Build error
Build error
Download Dockerfile from huuthan00/test-wordpress: direct link, hf CLI and curl.
- Browser
- Download file 504 Bytes
-
https://huggingface.co/spaces/huuthan00/test-wordpress/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/huuthan00/test-wordpress/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/huuthan00/test-wordpress/resolve/main/Dockerfile
504 Bytes
| FROM wordpress | |
| # Set environment variables used by the Wordpress image | |
| # DB_USER and DB_PASSWORD are included as an example. However, | |
| # these should be removed and set during docker run. | |
| ENV WORDPRESS_DB_HOST=127.0.0.1 \ | |
| WORDPRESS_DB_USER=wpuser \ | |
| WORDPRESS_DB_PASSWORD=super-secret-password \ | |
| WORDPRESS_DB_NAME=wpsite \ | |
| WORDPRESS_TABLE_PREFIX=wp_ | |
| COPY plugins/ /var/www/html/wp-content/plugins | |
| COPY themes/ /var/www/html/wp-content/themes | |
| COPY uploads/ /var/www/html/wp-content/uploads |