2022-11-18 09:50:06 +01:00
|
|
|
# syntax=docker/dockerfile:1
|
2023-01-09 08:04:45 +01:00
|
|
|
FROM python:3.10.6-alpine
|
2022-11-18 09:50:06 +01:00
|
|
|
|
|
|
|
WORKDIR /app
|
2022-12-23 16:41:28 +01:00
|
|
|
COPY ./dist/bot/build/kdb-bot/ .
|
|
|
|
COPY ./dist/bot/build/requirements.txt .
|
2022-11-18 09:50:06 +01:00
|
|
|
|
|
|
|
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"]
|