Skip to content

Commit bb9a371

Browse files
committed
Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop
2 parents 3b11ba9 + a4f44f9 commit bb9a371

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

Dockerfile

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1-
FROM alpine:3.8
1+
FROM php:7.2-fpm-alpine
22

33
WORKDIR /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

818
COPY . ./
919

@@ -23,4 +33,4 @@ EXPOSE 80 443
2333

2434
ENTRYPOINT ["/bin/ash", ".dev/docker/entrypoint.sh"]
2535

26-
CMD [ "supervisord", "-n", "-c", "/etc/supervisord.conf" ]
36+
CMD [ "supervisord", "-n", "-c", "/etc/supervisord.conf" ]

0 commit comments

Comments
 (0)