diff --git a/kdb-bot/docker b/kdb-bot/docker index b3d5e9feef..48c2683965 160000 --- a/kdb-bot/docker +++ b/kdb-bot/docker @@ -1 +1 @@ -Subproject commit b3d5e9feef881960c2e65e6661b36123b4d6fce5 +Subproject commit 48c2683965611c9a96ebbb908f8dcb4d0d7d71f2 diff --git a/kdb-bot/dockerfile b/kdb-bot/dockerfile new file mode 100644 index 0000000000..fb342fd222 --- /dev/null +++ b/kdb-bot/dockerfile @@ -0,0 +1,17 @@ +# syntax=docker/dockerfile:1 +FROM python:3.10.4-alpine + +WORKDIR /app +COPY ./dist/bot/build/ . + +RUN python -m pip install --upgrade pip + +RUN apk update +RUN apk add --update alpine-sdk linux-headers +RUN apk add bash +RUN apk add nano + +RUN pip install -r requirements.txt --extra-index-url https://pip.sh-edraft.de +RUN pip install flask[async] + +CMD [ "bash", "/app/bot/bot"]