|
|
|
@ -8,7 +8,15 @@ RUN apk add --no-cache \
|
|
|
|
|
icu-dev \ |
|
|
|
|
libpng-dev \ |
|
|
|
|
oniguruma-dev \ |
|
|
|
|
libpq-dev |
|
|
|
|
libpq-dev \ |
|
|
|
|
libpng-dev \ |
|
|
|
|
libzip-dev \ |
|
|
|
|
zip \ |
|
|
|
|
vim \ |
|
|
|
|
unzip \ |
|
|
|
|
git \ |
|
|
|
|
curl |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN rm -rf /var/cache/apk/* |
|
|
|
|
|
|
|
|
@ -21,6 +29,10 @@ RUN docker-php-ext-install \
|
|
|
|
|
pgsql \ |
|
|
|
|
tokenizer |
|
|
|
|
|
|
|
|
|
#Install Extensions |
|
|
|
|
RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer |
|
|
|
|
|
|
|
|
|
WORKDIR /var/www/html |
|
|
|
@ -28,8 +40,8 @@ WORKDIR /var/www/html
|
|
|
|
|
COPY . . |
|
|
|
|
|
|
|
|
|
RUN chmod +x artisan |
|
|
|
|
#RUN composer install --ignore-platform-reqs --prefer-dist --no-scripts --no-progress --no-interaction --no-dev --no-autoloader |
|
|
|
|
#RUN composer dump-autoload --optimize |
|
|
|
|
RUN composer install --ignore-platform-reqs --prefer-dist --no-scripts --no-progress --no-interaction --no-dev --no-autoloader |
|
|
|
|
RUN composer dump-autoload --optimize |
|
|
|
|
|
|
|
|
|
RUN chown -R www-data:www-data . |
|
|
|
|
|
|
|
|
|