Skip to content

Commit 4660f13

Browse files
committed
Updated base image to Alpine 3.6 and nginx to 1.12
1 parent f73e2b9 commit 4660f13

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM alpine:3.5
1+
FROM alpine:3.6
22
LABEL Maintainer="Tim de Pater <[email protected]>" \
3-
Description="Lightweight WordPress container with Nginx 1.10 & PHP-FPM 7.1 based on Alpine Linux."
3+
Description="Lightweight WordPress container with Nginx 1.12 & PHP-FPM 7.1 based on Alpine Linux."
44

55
# Install packages from testing repo's
66
RUN apk --no-cache add php7 php7-fpm php7-mysqli php7-json php7-openssl php7-curl \

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WordPress Docker Container
22

3-
Lightweight WordPress container with Nginx 1.10 & PHP-FPM 7.1 based on Alpine Linux.
3+
Lightweight WordPress container with Nginx 1.12 & PHP-FPM 7.1 based on Alpine Linux.
44

55
_WordPress version currently installed:_ **4.8**
66

@@ -24,7 +24,13 @@ See docker-compose.yml how to use it in your own environment.
2424

2525
Or
2626

27-
docker run -d -p 80:80 -v /local/folder:/var/www/wp-content -e "DB_HOST=db" -e "DB_NAME=wordpress" -e "DB_USER=wp" -e "DB_PASSWORD=secret" trafex/wordpress
27+
docker run -d -p 80:80 -v /local/folder:/var/www/wp-content \
28+
-e "DB_HOST=db" \
29+
-e "DB_NAME=wordpress" \
30+
-e "DB_USER=wp" \
31+
-e "DB_PASSWORD=secret" \
32+
-e "FS_METHOD=direct" \
33+
trafex/wordpress
2834

2935
### Inspired by
3036

0 commit comments

Comments
 (0)