From b87639d10530af8c0b698070c13e2ba75358502b Mon Sep 17 00:00:00 2001 From: erichard <elliot.richard@lal.in2p3.fr> Date: Wed, 5 Aug 2020 10:48:04 +0200 Subject: [PATCH] fix pipe error : KeyError: 'UserOption' --- docker/Dockerfile_externals | 1 + docker/run_externals.sh | 2 +- docker/run_latest.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile_externals b/docker/Dockerfile_externals index de224ee..c4fcf79 100644 --- a/docker/Dockerfile_externals +++ b/docker/Dockerfile_externals @@ -29,6 +29,7 @@ EXPOSE 5000 ENV FLASK_APP=test/demo ENV FLASK_ENV=development +ENV UserOption=false ENV LC_ALL=C.UTF-8 ENV LANG=C.UTF-8 diff --git a/docker/run_externals.sh b/docker/run_externals.sh index c2e16b8..f355ced 100755 --- a/docker/run_externals.sh +++ b/docker/run_externals.sh @@ -6,4 +6,4 @@ SCRIPT_NAME=${BASH_SOURCE[0]} cd `dirname ${SCRIPT_NAME}` # Flask opère sur le port 5000 -docker run -it --rm -p 5000:5000 -v $PWD/..:/work -w /work --env LT_CFG="${LT_CFG}" --env UserOption=false labelstower:externals $* +docker run -it --rm -p 5000:5000 -v $PWD/..:/work -w /work --env LT_CFG="${LT_CFG}" labelstower:externals $* diff --git a/docker/run_latest.sh b/docker/run_latest.sh index 584cd27..4652da0 100755 --- a/docker/run_latest.sh +++ b/docker/run_latest.sh @@ -6,4 +6,4 @@ SCRIPT_NAME=${BASH_SOURCE[0]} cd `dirname ${SCRIPT_NAME}` # Flask opère sur le port 5000 -docker run -it --rm -p 5000:5000 -v $PWD/../test:/work -w /work --env LT_CFG="${LT_CFG}" --env UserOption=false labelstower:latest $* \ No newline at end of file +docker run -it --rm -p 5000:5000 -v $PWD/../test:/work -w /work --env LT_CFG="${LT_CFG}" labelstower:latest $* \ No newline at end of file -- GitLab