[Fix:bug] composer install not working
parent
ed074c4009
commit
783deaf460
10
Dockerfile
10
Dockerfile
|
@ -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
|
Loading…
Reference in New Issue