[Fix:bug] composer install not working

pull/8/head
sundowndev 2018-07-12 18:04:11 +02:00
parent ed074c4009
commit 783deaf460
1 changed files with 6 additions and 4 deletions

View File

@ -34,12 +34,14 @@ CMD ["php-fpm"]
# https://getcomposer.org/doc/03-cli.md#composer-allow-superuser
ENV COMPOSER_ALLOW_SUPERUSER 1
# Use prestissimo to speed up builds
RUN composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progress --no-suggest --optimize-autoloader --classmap-authoritative --no-interaction
###> recipes ###
###< recipes ###
COPY ./server .
RUN composer install
# Use prestissimo to speed up builds
RUN composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progress --no-suggest --optimize-autoloader --classmap-authoritative --no-interaction
RUN composer install
RUN echo $(cat .env.dist) > .env