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/ .
|
|
|
|
|
|
|
|
RUN pip install cpl-core --extra-index-url https://pip.sh-edraft.de
|
|
|
|
RUN pip install cpl-discord --extra-index-url https://pip.sh-edraft.de
|
|
|
|
RUN pip install cpl-query --extra-index-url https://pip.sh-edraft.de
|
|
|
|
RUN pip install cpl-translation --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"]
|