From dda0fb438c40f2a5f63190be1c2062f3c4bda2d7 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 15 Feb 2019 00:57:46 -0500 Subject: [PATCH] Speed up docker build times and decrease image size --- contrib/docker/Dockerfile.fpm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/docker/Dockerfile.fpm b/contrib/docker/Dockerfile.fpm index 93676b10..fc752442 100644 --- a/contrib/docker/Dockerfile.fpm +++ b/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"]