mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 15:39:50 +00:00
@@ -46,10 +46,7 @@ COPY . $FIREFLY_PATH
|
|||||||
|
|
||||||
RUN chown -R www-data:www-data /var/www && chmod -R 775 $FIREFLY_PATH/storage
|
RUN chown -R www-data:www-data /var/www && chmod -R 775 $FIREFLY_PATH/storage
|
||||||
|
|
||||||
RUN composer install --prefer-dist --no-dev --no-scripts
|
RUN composer install --prefer-dist --no-dev --no-scripts && cat .env.docker | envsubst > .env && composer dump-autoload && php artisan firefly:instructions install && php artisan optimize
|
||||||
RUN composer dump-autoload
|
|
||||||
RUN php artisan firefly:instructions install
|
|
||||||
RUN php artisan optimize
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cat .env.docker | envsubst > .env
|
# cat .env.docker | envsubst > .env
|
||||||
|
|
||||||
exec apache2-foreground
|
exec apache2-foreground
|
||||||
|
|||||||
Reference in New Issue
Block a user