fix deploymen
Reviewed-on: http://git.simonis.lol/sites/abiball/pulls/8
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user