Skip to content

Commit ece0f66

Browse files
Merge pull request #923 from appwrite/chore-remove-env-var
Chore: Remove APPWRITE_ENV
2 parents 501b92d + b3e93f5 commit ece0f66

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

templates/cli/lib/emulation/docker.js.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ async function dockerBuild(func, variables) {
5454
const params = [ 'run' ];
5555
params.push('--name', id);
5656
params.push('-v', `${tmpBuildPath}/:/mnt/code:rw`);
57-
params.push('-e', 'APPWRITE_ENV=development');
5857
params.push('-e', 'OPEN_RUNTIMES_ENV=development');
5958
params.push('-e', 'OPEN_RUNTIMES_SECRET=');
6059
params.push('-e', `OPEN_RUNTIMES_ENTRYPOINT=${func.entrypoint}`);
@@ -171,7 +170,6 @@ async function dockerStart(func, variables, port) {
171170
params.push('--rm');
172171
params.push('--name', id);
173172
params.push('-p', `${port}:3000`);
174-
params.push('-e', 'APPWRITE_ENV=development');
175173
params.push('-e', 'OPEN_RUNTIMES_ENV=development');
176174
params.push('-e', 'OPEN_RUNTIMES_SECRET=');
177175

0 commit comments

Comments
 (0)