Moved dockerfile

This commit is contained in:
Sven Heidemann 2022-11-18 09:50:06 +01:00
parent 864d181de0
commit 87350cba1a
2 changed files with 18 additions and 1 deletions

@ -1 +1 @@
Subproject commit b3d5e9feef881960c2e65e6661b36123b4d6fce5
Subproject commit 48c2683965611c9a96ebbb908f8dcb4d0d7d71f2

17
kdb-bot/dockerfile Normal file
View File

@ -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"]