Files
ShiteMusicBot/Dockerfile
T
2022-10-01 20:46:42 +02:00

17 lines
340 B
Docker

FROM python:3.10.7-alpine
LABEL maintainer="Roxedus"
COPY / /app
RUN \
apk add --no-cache --update gcc musl-dev python3-dev git && \
python3 -m pip install -r /app/requirements.txt
WORKDIR /app
CMD cp -u /app/data/config.yaml.example /config/config.yaml.example && python3 /app/bot.py --data-directory /config
VOLUME /config