[WIP] Changed some stuff for docker #70

This commit is contained in:
2022-10-21 23:01:09 +02:00
parent 46ed616560
commit e31c5472af
59 changed files with 135 additions and 70 deletions

View File

@@ -1,12 +1,18 @@
# syntax=docker/dockerfile:1
FROM python:3.10.7-bullseye
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 apt-get update -y
RUN apt-get install nano -y
ENV KDB_TOKEN=""
ENV KDB_PREFIX="!kdb "