feat(docker): prod, fix misc
This commit is contained in:
parent
457d456e5d
commit
44a1411f8f
1 changed files with 2 additions and 1 deletions
|
@ -416,7 +416,6 @@ FROM sintonia-webapp-build-common AS sintonia-webapp-production
|
|||
USER root
|
||||
|
||||
COPY ./docker/sintonia-webapp/php/php-ini-production /usr/local/etc/php/php.ini
|
||||
COPY ./docker/sintonia-webapp/laravel/.env.production.example /var/www/sintonia_webapp/.env
|
||||
|
||||
USER $sintonia_user
|
||||
WORKDIR /var/www/sintonia_webapp
|
||||
|
@ -425,6 +424,8 @@ RUN git clone --branch dev --single-branch https://git.congegni.net/Congegni/sin
|
|||
/home/$sintonia_user/composer install --no-progress --no-interaction && \
|
||||
/home/$sintonia_user/composer --no-cache dump-autoload --no-interaction
|
||||
|
||||
COPY ./docker/sintonia-webapp/laravel/.env.production.example /var/www/sintonia_webapp/.env
|
||||
|
||||
RUN php artisan key:generate && \
|
||||
php artisan migrate && \
|
||||
php artisan db:seed && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue