Parallel composer install in Dockerfile and Dockerfile.fpm fix

This commit is contained in:
Dominik Strässle 2020-02-09 18:07:42 +01:00
parent 8f93390a2e
commit aede31ea65
2 changed files with 5 additions and 0 deletions

View file

@ -43,7 +43,9 @@ 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 global require hirak/prestissimo --no-interaction --no-suggest --prefer-dist \
&& composer install --prefer-dist --no-interaction \
&& composer global remove hirak/prestissimo \
&& rm -rf html && ln -s public html
VOLUME /var/www/storage /var/www/bootstrap