cache
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7ee7ba1f0b
commit
fa2c30885d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue