Parallel composer install in Dockerfile and Dockerfile.fpm fix
This commit is contained in:
parent
8f93390a2e
commit
aede31ea65
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue