File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ RUN a2enmod rewrite && \
1818RUN ( curl -sSLf https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - || echo 'return 1' ) | sh -s \
1919 gd ldap pdo_mysql xdebug zip
2020
21+ # Install composer
22+ COPY --from=composer:latest /usr/bin/composer /bin/composer
23+
2124ENV APACHE_DOCUMENT_ROOT /app/public
2225WORKDIR /app
2326
2427RUN <<EOR
25- # Install composer
26- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
27-
2828# Use the default production configuration and update it as required
2929mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
3030sed -i 's/memory_limit = 128M/memory_limit = 512M/g' "$PHP_INI_DIR/php.ini"
You can’t perform that action at this time.
0 commit comments