cache
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sergio Álvarez 2022-01-11 13:36:29 +01:00
parent 7ee7ba1f0b
commit fa2c30885d
No known key found for this signature in database
GPG Key ID: 622780889DFDBDA5
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ steps:
- name: backend
image: composer:2.1.14
commands:
- cd backend && composer install && composer dump-autoload --classmap-authoritative
- cd backend && composer install && composer dump-autoload --classmap-authoritative && bin/console cache:clear --env=prod && bin/console cache:warmup --env=prod
- name: frontend
image: node:16.13.1-alpine

View File

@ -14,11 +14,11 @@ RUN apt clean autoclean && \
apt autoremove -y && \
rm -rf /var/lib/apt/lists/*
RUN usermod -u 1000 www-data && groupmod -g 1000 www-data
RUN chown -R www-data:www-data /var/www
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY docker/zz-custom-php.ini "$PHP_INI_DIR/conf.d/"
COPY docker/zz-custom-phpfpm.conf /usr/local/etc/php-fpm.d/zz-docker.conf
COPY backend /var/www/backend
RUN usermod -u 1000 www-data && groupmod -g 1000 www-data
RUN chown -R www-data:www-data /var/www