Skip to content

Commit

Permalink
Compress the intl package
Browse files Browse the repository at this point in the history
  • Loading branch information
tchapi committed May 31, 2024
1 parent 3e50d13 commit b24db5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile-standalone
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ COPY --from=extension-builder /usr/local/lib/php/extensions /usr/local/lib/php/e
ADD --chown=www-data:www-data . /var/www/davis
WORKDIR /var/www/davis

# Install Composer 2, then dependencies
# Install Composer 2, then dependencies, compress the rather big INTL package
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN APP_ENV=prod COMPOSER_ALLOW_SUPERUSER=1 composer install --no-ansi --no-dev --no-interaction --no-progress --optimize-autoloader
RUN APP_ENV=prod COMPOSER_ALLOW_SUPERUSER=1 composer install --no-ansi --no-dev --no-interaction --no-progress --optimize-autoloader \
&& php ./vendor/symfony/intl/Resources/bin/compress

# Caddy: web server
RUN mkdir -p /var/log/caddy
Expand Down

0 comments on commit b24db5b

Please sign in to comment.