Skip to content

Commit 3bed549

Browse files
committed
Update examples
1 parent bde6744 commit 3bed549

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ RUN composer-dump-autoload -d /var/www
5353
5454
FROM lslio/nginx-php-fpm
5555
56+
# Install extra modules (if you need them)
57+
# RUN apk add --no-cache --update -X 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' php7-msgpack php7-gearman
58+
5659
ENV SERVER_NAME=example.com
5760
ENV SERVER_ALIAS=www.example.com
5861
ENV SERVER_ROOT=/var/www
5962
60-
# Install extra modules (if you need them)
61-
# RUN apk add --no-cache --update -X 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' php7-msgpack php7-gearman
62-
6363
COPY --from=composer --chown=www-data:www-data /var/www /var/www
6464
```
6565

examples/Dockerfile.composer

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ RUN composer-dump-autoload -d /var/www
88

99
FROM lslio/nginx-php-fpm
1010

11+
# Install extra modules (if you need them)
12+
# RUN apk add --no-cache --update -X 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' php7-msgpack php7-gearman
13+
1114
ENV SERVER_NAME=example.com
1215
ENV SERVER_ALIAS=www.example.com
1316
ENV SERVER_ROOT=/var/www
1417

15-
# Install extra modules (if you need them)
16-
# RUN apk add --no-cache --update -X 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' php7-msgpack php7-gearman
17-
1818
COPY --from=composer --chown=www-data:www-data /var/www /var/www

0 commit comments

Comments
 (0)