feat(docker): prod, fix misc
This commit is contained in:
parent
4b12f63f2c
commit
185ffe6e33
1 changed files with 7 additions and 2 deletions
|
@ -412,11 +412,16 @@ CMD cron && \
|
|||
|
||||
|
||||
FROM sintonia-webapp-build-common AS sintonia-webapp-production
|
||||
USER $sintonia_user
|
||||
|
||||
USER root
|
||||
|
||||
COPY ./docker/sintonia-webapp/php/php-ini-production /usr/local/etc/php/php.ini
|
||||
|
||||
USER $sintonia_user
|
||||
WORKDIR /var/www/sintonia_webapp
|
||||
|
||||
RUN cron && \
|
||||
git clone --branch dev --single-branch https://git.congegni.net/sintonia_webapp && \
|
||||
git clone --branch dev --single-branch https://armadio.congegni.net/sintonia_webapp && \
|
||||
cd sintonia_webapp && \
|
||||
/home/$sintonia_user/composer install --no-progress --no-interaction --no-autoloader && \
|
||||
/home/$sintonia_user/composer --no-cache dump-autoload --no-interaction && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue