mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Update docker file and entrypoint.
This commit is contained in:
@@ -25,6 +25,12 @@ then
|
|||||||
echo "Touched!"
|
echo "Touched!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $FF_DB_CONNECTION == "sqlite" ]]
|
||||||
|
then
|
||||||
|
touch $FIREFLY_PATH/storage/database/database.sqlite
|
||||||
|
echo "Touched!"
|
||||||
|
fi
|
||||||
|
|
||||||
# make sure we own the volumes:
|
# make sure we own the volumes:
|
||||||
echo "Run chown on ${FIREFLY_PATH}/storage..."
|
echo "Run chown on ${FIREFLY_PATH}/storage..."
|
||||||
chown -R www-data:www-data -R $FIREFLY_PATH/storage
|
chown -R www-data:www-data -R $FIREFLY_PATH/storage
|
||||||
|
@@ -40,7 +40,7 @@ RUN chown -R www-data:www-data /var/www && \
|
|||||||
pecl install memcached-3.1.3 && \
|
pecl install memcached-3.1.3 && \
|
||||||
docker-php-ext-enable memcached && \
|
docker-php-ext-enable memcached && \
|
||||||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
|
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
|
||||||
echo "de_DE.UTF-8 UTF-8\nen_US.UTF-8 UTF-8\nes_ES.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\nid_ID.UTF-8 UTF-8\nit_IT.UTF-8 UTF-8\nnl_NL.UTF-8 UTF-8\npl_PL.UTF-8 UTF-8\npt_BR.UTF-8 UTF-8\nru_RU.UTF-8 UTF-8\ntr_TR.UTF-8 UTF-8\nzh_TW.UTF-8 UTF-8\n\n" > /etc/locale.gen && \
|
echo "de_DE.UTF-8 UTF-8\nen_US.UTF-8 UTF-8\nes_ES.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\nid_ID.UTF-8 UTF-8\nit_IT.UTF-8 UTF-8\nnl_NL.UTF-8 UTF-8\npl_PL.UTF-8 UTF-8\npt_BR.UTF-8 UTF-8\nru_RU.UTF-8 UTF-8\ntr_TR.UTF-8 UTF-8\nzh_TW.UTF-8 UTF-8\nzh_CN.UTF-8 UTF-8\n\n" > /etc/locale.gen && \
|
||||||
locale-gen && \
|
locale-gen && \
|
||||||
composer install --prefer-dist --no-dev --no-scripts --no-suggest
|
composer install --prefer-dist --no-dev --no-scripts --no-suggest
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user