Skip to content

Commit 321bddd

Browse files
committed
wip
1 parent fd80c48 commit 321bddd

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

Dockerfile

+17-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,17 @@ RUN docker-php-ext-install pdo_mysql && \
99
wget https://getcomposer.org/composer-2.phar -O /usr/bin/composer && \
1010
chmod +x /usr/bin/composer && \
1111
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
1823

1924

2025
FROM php:8.0-fpm-alpine
@@ -30,3 +35,9 @@ COPY . /app/bimbalacom
3035
RUN docker-php-ext-enable pdo_mysql && \
3136
composer dump-autoload --optimize --classmap-authoritative && \
3237
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

0 commit comments

Comments
 (0)