nixpacks env variables only during build

This commit is contained in:
Andras Bacsai
2023-05-05 14:48:40 +02:00
parent 631b61e11c
commit 117ba360ac
2 changed files with 6 additions and 2 deletions

View File

@@ -243,7 +243,7 @@ COPY --from={$this->application->uuid}:{$this->git_commit}-build /app/{$this->ap
{
$environment_variables = collect();
foreach ($this->application->environment_variables as $env) {
foreach ($this->application->runtime_environment_variables as $env) {
$environment_variables->push("$env->key=$env->value");
}
// Add PORT if not exists, use the first port as default