refactor: Update Dockerfile to set CI environment variable to true

This commit is contained in:
Andras Bacsai committed 2024-07-12 13:02:37 +02:00
1 parent d23f5af957
commit 046a358ae0
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -31,7 +31,8 @@ class AppServiceProvider extends ServiceProvider
}
});
echo config('app.env');
if (config('app.env') === 'production') {
echo env('CI');
if (! env('CI')) {
View::share('instanceSettings', InstanceSettings::get());
}
+1
View File
@@ -17,6 +17,7 @@ ARG TARGETPLATFORM
# https://github.com/cloudflare/cloudflared/releases
ARG CLOUDFLARED_VERSION=2024.4.1
ARG POSTGRES_VERSION=15
ARG CI=true
WORKDIR /var/www/html