Skip to content

Commit 028f1e0

Browse files
authored
Merge pull request dunglas#43 from dunglas/replace-prestissimo
Replace Prestissimo by Flex
2 parents af96d4b + 154b211 commit 028f1e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ CMD ["php-fpm"]
6666
ENV COMPOSER_ALLOW_SUPERUSER 1
6767

6868
# Use prestissimo to speed up builds
69-
RUN composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progress --no-suggest --optimize-autoloader --classmap-authoritative --no-interaction
69+
RUN composer global require "symfony/flex" --prefer-dist --no-progress --no-suggest --classmap-authoritative --no-interaction
7070

7171
# Allow to use development versions of Symfony
7272
ARG STABILITY="stable"
@@ -85,4 +85,5 @@ COPY . .
8585

8686
RUN mkdir -p var/cache var/logs var/sessions \
8787
&& composer install --prefer-dist --no-dev --no-scripts --no-progress --no-suggest --classmap-authoritative --no-interaction \
88-
&& chown -R www-data var
88+
&& composer clear-cache \
89+
&& chown -R www-data var

0 commit comments

Comments
 (0)