change some stuff

This commit is contained in:
Constantin Simonis 2024-12-06 14:24:30 +01:00
parent 45f1a62a76
commit 3683edd121
Signed by: csimonis
GPG Key ID: 758DD9C506603183
2 changed files with 6 additions and 2 deletions

4
.env
View File

@ -15,8 +15,8 @@
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
###> symfony/framework-bundle ### ###> symfony/framework-bundle ###
APP_ENV=${APP_ENV:-dev} APP_ENV=dev
APP_SECRET=bfc9c288ee3dcce80dec8622c2870f27 APP_SECRET=bfc9c288ee3dcce80dec8622c2870f27
###< symfony/framework-bundle ### ###< symfony/framework-bundle ###
DATA_DIR=${DATA_DIR:-/var/www/html/data} DATA_DIR=/var/www/data

View File

@ -18,3 +18,7 @@ RUN pecl install apcu && docker-php-ext-enable apcu
WORKDIR /var/www/project WORKDIR /var/www/project
RUN composer install --optimize-autoloader --no-suggest --no-progress RUN composer install --optimize-autoloader --no-suggest --no-progress
RUN composer dump-env prod
RUN php bin/console tailwind:build
RUN mkdir -p /var/www/data
RUN chmod www-data:www-data /var/www/data