2022-10-01 23:12:35 +02:00
|
|
|
# syntax=docker/dockerfile:1
|
2022-10-21 23:01:09 +02:00
|
|
|
FROM python:3.10.4-alpine
|
|
|
|
|
2022-10-01 23:12:35 +02:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./dist/bot/build/ .
|
|
|
|
|
2022-10-21 23:01:09 +02: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
|
|
|
|
|
2022-10-20 17:50:50 +02:00
|
|
|
RUN pip install -r requirements.txt --extra-index-url https://pip.sh-edraft.de
|
2022-10-23 14:11:15 +02:00
|
|
|
RUN pip install flask[async]
|
2022-10-01 23:12:35 +02:00
|
|
|
|
|
|
|
CMD [ "bash", "/app/bot/bot"]
|