2022-10-01 23:12:35 +02:00
|
|
|
# syntax=docker/dockerfile:1
|
2022-10-03 15:27:24 +02:00
|
|
|
FROM python:3.10.7-bullseye
|
2022-10-01 23:12:35 +02:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./dist/bot/build/ .
|
|
|
|
|
2022-10-20 17:50:50 +02:00
|
|
|
RUN pip install -r requirements.txt --extra-index-url https://pip.sh-edraft.de
|
2022-10-03 04:39:00 +02:00
|
|
|
RUN apt-get update -y
|
|
|
|
RUN apt-get install nano -y
|
2022-10-01 23:12:35 +02:00
|
|
|
|
|
|
|
ENV KDB_TOKEN=""
|
|
|
|
ENV KDB_PREFIX="!kdb "
|
|
|
|
ENV KDB_ENVIRONMENT="production"
|
|
|
|
|
|
|
|
CMD [ "bash", "/app/bot/bot"]
|