File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ PHP is a server-side scripting language designed for web development, but which
5454 * When switching from one Version/OS to another, execute ` chown -R <UID>:<GID> <FOLDER> ` before starting the respective container.
5555
5656### How to use these images:
57- * ``` $ docker run --name phpcontainer -v $(pwd)/html:/var/www/html:rw -p 8080:80 -e PHP_ERRORS=1 -e PHP_UPLOAD_MAX_FILESIZE=250 -d tobi312/php:8.4-apache ```
57+
58+ > Note: Only works with Images with entrypoint script!
5859
5960* Environment Variables:
6061 * ` TZ ` (set timezone, example: "Europe/Berlin")
@@ -90,6 +91,8 @@ PHP is a server-side scripting language designed for web development, but which
9091 * php with apache/nginx: ` 80 ` (http), optional: ` 443 ` (https)
9192 * php with fpm: ` 9000 `
9293
94+ * ``` $ docker run --name phpcontainer -v $(pwd)/html:/var/www/html:rw -p 8080:80 -e PHP_ERRORS=1 -e PHP_UPLOAD_MAX_FILESIZE=250 -d tobi312/php:8.4-apache ```
95+
9396* An own Dockerfile?, then here an example with copy additional own entrypoint-file(s) in apache image:
9497 ``` $ echo -e "FROM tobi312/php:8.4-apache-debian\nCOPY *.sh /entrypoint.d/" > Dockerfile ```
9598
You can’t perform that action at this time.
0 commit comments