Skip to content

Commit

Permalink
build: use custom WordPress image with custom php.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Dec 4, 2023
1 parent 35d36ef commit b9324bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
wordpress:
depends_on:
- db
image: wordpress:6.4
build: wordpress/
ports:
- "${WORDPRESS_PORT:-8000}:80"
restart: always
Expand Down
3 changes: 3 additions & 0 deletions wordpress/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM wordpress:6.4

COPY php.ini "${PHP_INI_DIR}/conf.d/"
1 change: 1 addition & 0 deletions wordpress/php.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
upload_max_filesize=42M

0 comments on commit b9324bc

Please sign in to comment.