fix(dart-env): adapt to review
This commit is contained in:
parent
607de4246b
commit
8e5d7e9e31
3 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
use Utopia\App;
|
use Utopia\App;
|
||||||
|
|
||||||
$allowList = empty(App::getEnv('_APP_FUNCTIONS_ENV_ALLOWLIST', null)) ? false : \explode(',', App::getEnv('_APP_FUNCTIONS_ENV_ALLOWLIST', null));
|
$allowList = empty(App::getEnv('_APP_FUNCTIONS_ENVS', null)) ? false : \explode(',', App::getEnv('_APP_FUNCTIONS_ENVS', null));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of Appwrite Cloud Functions supported environments
|
* List of Appwrite Cloud Functions supported environments
|
||||||
|
|
|
@ -354,7 +354,7 @@ return [
|
||||||
'question' => '',
|
'question' => '',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => '_APP_FUNCTIONS_ENV_ALLOWLIST',
|
'name' => '_APP_FUNCTIONS_ENVS',
|
||||||
'description' => 'This option allows you to limit the available environments for cloud functions. This option is very useful for low-cost servers to safe disk space.\n\nTo enable/activate this option, pass a list of allowed environments separated by a comma.\n\nCurrently, supported environments are: ' . \implode(', ', \array_keys(Config::getParam('providers'))),
|
'description' => 'This option allows you to limit the available environments for cloud functions. This option is very useful for low-cost servers to safe disk space.\n\nTo enable/activate this option, pass a list of allowed environments separated by a comma.\n\nCurrently, supported environments are: ' . \implode(', ', \array_keys(Config::getParam('providers'))),
|
||||||
'introduction' => '0.7.0',
|
'introduction' => '0.7.0',
|
||||||
'default' => '',
|
'default' => '',
|
||||||
|
|
|
@ -7,3 +7,5 @@ RUN apk add tar
|
||||||
RUN mkdir /usr/local/src
|
RUN mkdir /usr/local/src
|
||||||
|
|
||||||
WORKDIR /usr/local/src/
|
WORKDIR /usr/local/src/
|
||||||
|
|
||||||
|
ENV PUB_CACHE=/usr/local/src/.appwrite
|
Loading…
Reference in a new issue