We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb6d518 commit 3d0137bCopy full SHA for 3d0137b
dev/docker/Dockerfile
@@ -21,11 +21,9 @@ RUN ( curl -sSLf https://github.com/mlocati/docker-php-extension-installer/relea
21
# Install composer
22
COPY --from=composer:latest /usr/bin/composer /bin/composer
23
24
+# Use the default production configuration and update it as required
25
+RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" && \
26
+ sed -i 's/memory_limit = 128M/memory_limit = 512M/g' "$PHP_INI_DIR/php.ini"
27
+
28
ENV APACHE_DOCUMENT_ROOT /app/public
29
WORKDIR /app
-
-RUN <<EOR
-# Use the default production configuration and update it as required
-mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
30
-sed -i 's/memory_limit = 128M/memory_limit = 512M/g' "$PHP_INI_DIR/php.ini"
31
-EOR
0 commit comments