File tree 3 files changed +11
-6
lines changed
3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ RUN apk --no-cache add tzdata && \
14
14
echo "UTC" | tee /etc/timezone && \
15
15
apk del tzdata
16
16
17
- RUN apk --no-cache add bash
18
-
19
17
RUN apk --no-cache add \
20
18
php7 php7-opcache php7-fpm php7-cgi php7-ctype php7-json php7-dom php7-zip php7-zip php7-gd \
21
19
php7-curl php7-mbstring php7-redis php7-mcrypt php7-posix php7-pdo_mysql php7-tokenizer php7-simplexml php7-session \
22
20
php7-xml php7-sockets php7-openssl php7-fileinfo php7-ldap php7-exif php7-pcntl php7-xmlwriter php7-phar php7-zlib \
23
21
php7-intl
24
22
ADD etc/php.ini /etc/php7/php.ini
25
23
24
+ RUN apk --no-cache add bash
25
+
26
26
RUN apk --no-cache add nginx
27
27
ADD etc/nginx_default.conf /etc/nginx/sites-enabled/default
28
28
ADD etc/nginx.conf /etc/nginx/nginx.conf
Original file line number Diff line number Diff line change @@ -16,15 +16,18 @@ RUN apk --no-cache add tzdata && \
16
16
17
17
RUN apk --no-cache add \
18
18
php7 php7-opcache php7-fpm php7-cgi php7-ctype php7-json php7-dom php7-zip php7-zip php7-gd \
19
- php7-curl php7-mbstring php7-redis php7-mcrypt php7-pdo_mysql php7-tokenizer php7-simplexml php7-session \
19
+ php7-curl php7-mbstring php7-redis php7-mcrypt php7-posix php7- pdo_mysql php7-tokenizer php7-simplexml php7-session \
20
20
php7-xml php7-sockets php7-openssl php7-fileinfo php7-ldap php7-exif php7-pcntl php7-xmlwriter php7-phar php7-zlib \
21
21
php7-intl
22
22
ADD etc/php.ini /etc/php7/php.ini
23
23
24
+ RUN apk --no-cache add bash
25
+
26
+ EXPOSE 80
27
+
24
28
COPY --from=composer /ppm /ppm
25
29
26
30
WORKDIR /var/www
27
31
28
32
ADD run-ppm.sh /etc/app/run.sh
29
-
30
33
ENTRYPOINT ["/bin/sh", "/etc/app/run.sh"]
Original file line number Diff line number Diff line change @@ -16,16 +16,18 @@ RUN apk --no-cache add tzdata && \
16
16
17
17
RUN apk --no-cache add \
18
18
php7 php7-opcache php7-fpm php7-cgi php7-ctype php7-json php7-dom php7-zip php7-zip php7-gd \
19
- php7-curl php7-mbstring php7-redis php7-mcrypt php7-pdo_mysql php7-tokenizer php7-simplexml php7-session \
19
+ php7-curl php7-mbstring php7-redis php7-mcrypt php7-posix php7- pdo_mysql php7-tokenizer php7-simplexml php7-session \
20
20
php7-xml php7-sockets php7-openssl php7-fileinfo php7-ldap php7-exif php7-pcntl php7-xmlwriter php7-phar php7-zlib \
21
21
php7-intl
22
22
ADD etc/php.ini /etc/php7/php.ini
23
23
24
+ RUN apk --no-cache add bash
25
+
24
26
EXPOSE 80
25
27
26
28
COPY --from=composer /ppm /ppm
27
29
28
30
WORKDIR /var/www
29
31
30
32
ADD run-standalone.sh /etc/app/run.sh
31
- CMD /bin/sh /etc/app/run.sh
33
+ ENTRYPOINT [" /bin/bash", " /etc/app/run.sh"]
You can’t perform that action at this time.
0 commit comments