refactor: Update Dockerfile to set CI environment variable to true

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

View File

@ -31,7 +31,8 @@ public function boot(): void
}
});
echo config('app.env');
if (config('app.env') === 'production') {
echo env('CI');
if (! env('CI')) {
View::share('instanceSettings', InstanceSettings::get());
}

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