|
|
@ -35,6 +35,7 @@ COPY /docker/php/php.ini /usr/local/etc/php/ |
|
|
|
#Install Extensions |
|
|
|
#Install Extensions |
|
|
|
RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql |
|
|
|
RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#RUN composer config -g repo.packagist composer https://packagist.org |
|
|
|
|
|
|
|
|
|
|
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer |
|
|
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer |
|
|
|
|
|
|
|
|
|
|
@ -43,7 +44,8 @@ WORKDIR /var/www/html |
|
|
|
COPY . . |
|
|
|
COPY . . |
|
|
|
|
|
|
|
|
|
|
|
RUN chmod +x artisan |
|
|
|
RUN chmod +x artisan |
|
|
|
RUN composer install --ignore-platform-reqs --prefer-dist --no-scripts --no-progress --no-interaction --no-dev --no-autoloader |
|
|
|
RUN composer update |
|
|
|
|
|
|
|
RUN composer install --prefer-dist --no-scripts --no-progress --no-interaction --no-dev --no-autoloader |
|
|
|
RUN composer dump-autoload --optimize |
|
|
|
RUN composer dump-autoload --optimize |
|
|
|
|
|
|
|
|
|
|
|
RUN chown -R www-data:www-data . |
|
|
|
RUN chown -R www-data:www-data . |
|
|
|