File tree 1 file changed +17
-6
lines changed
1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,17 @@ RUN docker-php-ext-install pdo_mysql && \
9
9
wget https://getcomposer.org/composer-2.phar -O /usr/bin/composer && \
10
10
chmod +x /usr/bin/composer && \
11
11
composer install \
12
- --ignore-platform-reqs \
13
- --no-ansi \
14
- --no-autoloader \
15
- --no-dev \
16
- --no-interaction \
17
- --no-scripts
12
+ --ignore-platform-reqs \
13
+ --no-ansi \
14
+ --no-autoloader \
15
+ --no-dev \
16
+ --no-interaction \
17
+ --no-scripts
18
+
19
+ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
20
+
21
+ RUN chmod +x /usr/local/bin/install-php-extensions && \
22
+ install-php-extensions gd exif
18
23
19
24
20
25
FROM php:8.0-fpm-alpine
@@ -30,3 +35,9 @@ COPY . /app/bimbalacom
30
35
RUN docker-php-ext-enable pdo_mysql && \
31
36
composer dump-autoload --optimize --classmap-authoritative && \
32
37
chown -R www-data:www-data /app/bimbalacom
38
+
39
+
40
+ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
41
+
42
+ RUN chmod +x /usr/local/bin/install-php-extensions && \
43
+ install-php-extensions gd exif
You can’t perform that action at this time.
0 commit comments