Moved dockerfile
This commit is contained in:
parent
864d181de0
commit
87350cba1a
@ -1 +1 @@
|
|||||||
Subproject commit b3d5e9feef881960c2e65e6661b36123b4d6fce5
|
Subproject commit 48c2683965611c9a96ebbb908f8dcb4d0d7d71f2
|
17
kdb-bot/dockerfile
Normal file
17
kdb-bot/dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user