refactor: Update Dockerfile to set CI environment variable to true
This commit is contained in:
parent
d23f5af957
commit
046a358ae0
@ -31,7 +31,8 @@ public function boot(): void
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
echo config('app.env');
|
echo config('app.env');
|
||||||
if (config('app.env') === 'production') {
|
echo env('CI');
|
||||||
|
if (! env('CI')) {
|
||||||
View::share('instanceSettings', InstanceSettings::get());
|
View::share('instanceSettings', InstanceSettings::get());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ ARG TARGETPLATFORM
|
|||||||
# https://github.com/cloudflare/cloudflared/releases
|
# https://github.com/cloudflare/cloudflared/releases
|
||||||
ARG CLOUDFLARED_VERSION=2024.4.1
|
ARG CLOUDFLARED_VERSION=2024.4.1
|
||||||
ARG POSTGRES_VERSION=15
|
ARG POSTGRES_VERSION=15
|
||||||
|
ARG CI=true
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user