fix deployment
All checks were successful
build / build (pull_request) Successful in 4m51s

This commit is contained in:
2025-01-23 19:15:31 +01:00
parent fb2004f71a
commit 93833b0a9f
2 changed files with 75 additions and 2 deletions

View File

@ -1,5 +1,5 @@
FROM composer AS composer
FROM php:8.2-apache
FROM php:apache
COPY .. /var/www/html/
COPY --from=composer /usr/bin/composer /usr/bin/composer
@ -16,4 +16,7 @@ RUN a2enmod rewrite
RUN pecl install apcu && docker-php-ext-enable apcu
WORKDIR /var/www/html
RUN composer install --optimize-autoloader --no-suggest --no-progress
RUN composer install --optimize-autoloader --no-suggest --no-progress
RUN php bin/console tailwind:build
RUN php bin/console asset-map:compile
RUN echo "APP_ENV=prod" > .env.local