File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 1- FROM alpine:3.8
1+ FROM php:7.2-fpm-alpine
22
33WORKDIR /app
44
5- RUN apk add --no-cache --update ca-certificates certbot nginx dcron curl tini php7 php7-bcmath php7-common php7-dom php7-fpm php7-gd php7-mbstring php7-openssl php7-zip php7-pdo php7-phar php7-json php7-pdo_mysql php7-session php7-ctype php7-tokenizer php7-zlib php7-simplexml php7-fileinfo supervisor \
6- && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
5+ RUN apk add --no-cache --update ca-certificates dcron curl git supervisor tar unzip; \
6+ docker-php-ext-install bcmath; \
7+ apk add --no-cache libpng-dev; \
8+ docker-php-ext-install gd; \
9+ docker-php-ext-install mbstring; \
10+ docker-php-ext-install pdo; \
11+ docker-php-ext-install pdo_mysql; \
12+ docker-php-ext-install tokenizer; \
13+ apk add --no-cache libxml2-dev; \
14+ docker-php-ext-install xml; \
15+ docker-php-ext-install zip; \
16+ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
717
818COPY . ./
919
@@ -23,4 +33,4 @@ EXPOSE 80 443
2333
2434ENTRYPOINT ["/bin/ash" , ".dev/docker/entrypoint.sh" ]
2535
26- CMD [ "supervisord" , "-n" , "-c" , "/etc/supervisord.conf" ]
36+ CMD [ "supervisord" , "-n" , "-c" , "/etc/supervisord.conf" ]
You can’t perform that action at this time.
0 commit comments