Browse Source

Merge pull request #848 from techknowlogick/patch-1

Speed up docker build times and decrease image size
daniel 6 years ago
parent
commit
d127fbf290
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/docker/Dockerfile.fpm

+ 1 - 1
contrib/docker/Dockerfile.fpm

@@ -32,7 +32,7 @@ COPY . /var/www/
 WORKDIR /var/www/
 RUN cp -r storage storage.skel \
  && cp contrib/docker/php.ini /usr/local/etc/php/conf.d/pixelfed.ini \
- && composer install --prefer-source --no-interaction \
+ && composer install --prefer-dist --no-interaction \
  && rm -rf html && ln -s public html
 
 VOLUME ["/var/www/storage", "/var/www/public.ext"]