Skip to content

Commit 3188bc4

Browse files
committed
Update README.md
1 parent 7df7de0 commit 3188bc4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)