forked from sh-edraft.de/sh_discord_bot
Fixed docker env #70
This commit is contained in:
parent
17a14cedb6
commit
602b1f3f98
@ -14,8 +14,4 @@ RUN apk add nano
|
|||||||
|
|
||||||
RUN pip install -r requirements.txt --extra-index-url https://pip.sh-edraft.de
|
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"]
|
CMD [ "bash", "/app/bot/bot"]
|
||||||
|
@ -14,9 +14,6 @@ elif [[ $1 == "-stage" ]]; then
|
|||||||
elif [[ $1 == "-prod" ]]; then
|
elif [[ $1 == "-prod" ]]; then
|
||||||
export KDB_ENVIRONMENT=production
|
export KDB_ENVIRONMENT=production
|
||||||
export KDB_NAME=KDB
|
export KDB_NAME=KDB
|
||||||
else
|
|
||||||
export KDB_ENVIRONMENT=production
|
|
||||||
export KDB_NAME=KDB-prod
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PYTHONPATH=./:$PYTHONPATH
|
export PYTHONPATH=./:$PYTHONPATH
|
||||||
|
Loading…
Reference in New Issue
Block a user