From 602b1f3f9826a0f99472360723b2eaa613cc4ba4 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 22 Oct 2022 08:17:54 +0200 Subject: [PATCH] Fixed docker env #70 --- kdb-bot/dockerfile | 4 ---- kdb-bot/src/bot/bot | 3 --- 2 files changed, 7 deletions(-) diff --git a/kdb-bot/dockerfile b/kdb-bot/dockerfile index acc50443a3..144034000c 100644 --- a/kdb-bot/dockerfile +++ b/kdb-bot/dockerfile @@ -14,8 +14,4 @@ RUN apk add nano RUN pip install -r requirements.txt --extra-index-url https://pip.sh-edraft.de -ENV KDB_TOKEN="" -ENV KDB_PREFIX="!kdb " -ENV KDB_ENVIRONMENT="production" - CMD [ "bash", "/app/bot/bot"] diff --git a/kdb-bot/src/bot/bot b/kdb-bot/src/bot/bot index ca8225c486..4536ec19bc 100644 --- a/kdb-bot/src/bot/bot +++ b/kdb-bot/src/bot/bot @@ -14,9 +14,6 @@ elif [[ $1 == "-stage" ]]; then elif [[ $1 == "-prod" ]]; then export KDB_ENVIRONMENT=production export KDB_NAME=KDB -else - export KDB_ENVIRONMENT=production - export KDB_NAME=KDB-prod fi export PYTHONPATH=./:$PYTHONPATH