sh_discord_bot/kdb-bot/dockerfile

22 lines
417 B
Plaintext
Raw Normal View History

2022-10-01 23:12:35 +02:00
# syntax=docker/dockerfile:1
FROM python:3.10.4-alpine
2022-10-01 23:12:35 +02:00
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
2022-10-20 17:50:50 +02:00
RUN pip install -r requirements.txt --extra-index-url https://pip.sh-edraft.de
2022-10-01 23:12:35 +02:00
ENV KDB_TOKEN=""
ENV KDB_PREFIX="!kdb "
ENV KDB_ENVIRONMENT="production"
CMD [ "bash", "/app/bot/bot"]