Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ version: '3'

services:
wp:
image: wordpress:latest # https://hub.docker.com/_/wordpress/
build:
args:
WP_IMAGE: wordpress:latest # https://hub.docker.com/_/wordpress/
context: ./docker/wordpress/
ports:
- ${IP}:80:80 # change ip if required
volumes:
Expand Down
4 changes: 4 additions & 0 deletions docker/wordpress/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ARG WP_IMAGE='wordpress:latest'
FROM ${WP_IMAGE}

# Include custom build code