File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 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 && \
1414 echo "UTC" | tee /etc/timezone && \
1515 apk del tzdata
1616
17- RUN apk --no-cache add bash
18-
1917RUN apk --no-cache add \
2018 php7 php7-opcache php7-fpm php7-cgi php7-ctype php7-json php7-dom php7-zip php7-zip php7-gd \
2119 php7-curl php7-mbstring php7-redis php7-mcrypt php7-posix php7-pdo_mysql php7-tokenizer php7-simplexml php7-session \
2220 php7-xml php7-sockets php7-openssl php7-fileinfo php7-ldap php7-exif php7-pcntl php7-xmlwriter php7-phar php7-zlib \
2321 php7-intl
2422ADD etc/php.ini /etc/php7/php.ini
2523
24+ RUN apk --no-cache add bash
25+
2626RUN apk --no-cache add nginx
2727ADD etc/nginx_default.conf /etc/nginx/sites-enabled/default
2828ADD 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 && \
1616
1717RUN apk --no-cache add \
1818 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 \
2020 php7-xml php7-sockets php7-openssl php7-fileinfo php7-ldap php7-exif php7-pcntl php7-xmlwriter php7-phar php7-zlib \
2121 php7-intl
2222ADD etc/php.ini /etc/php7/php.ini
2323
24+ RUN apk --no-cache add bash
25+
26+ EXPOSE 80
27+
2428COPY --from=composer /ppm /ppm
2529
2630WORKDIR /var/www
2731
2832ADD run-ppm.sh /etc/app/run.sh
29-
3033ENTRYPOINT ["/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 && \
1616
1717RUN apk --no-cache add \
1818 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 \
2020 php7-xml php7-sockets php7-openssl php7-fileinfo php7-ldap php7-exif php7-pcntl php7-xmlwriter php7-phar php7-zlib \
2121 php7-intl
2222ADD etc/php.ini /etc/php7/php.ini
2323
24+ RUN apk --no-cache add bash
25+
2426EXPOSE 80
2527
2628COPY --from=composer /ppm /ppm
2729
2830WORKDIR /var/www
2931
3032ADD 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