add migration to entrypoint

This commit is contained in:
Sam
2016-09-29 07:51:33 +02:00
parent 64f7c71fde
commit a1037c8459
3 changed files with 28 additions and 4 deletions

View File

@@ -34,6 +34,7 @@ RUN curl -o invoiceninja.tar.gz -SL https://github.com/hillelcoren/invoice-ninja
&& chown -R www-data:www-data /var/www/app \
&& composer install --working-dir /var/www/app -o --no-dev --no-interaction --no-progress \
&& chown -R www-data:www-data /var/www/app/bootstrap/cache \
# && echo ${INVOICENINJA_VERSION} > /var/www/app/storage/version.txt \
&& mv /var/www/app/storage /var/www/app/docker-backup-storage \
&& mv /var/www/app/public/logo /var/www/app/docker-backup-public-logo