Files
ShiteMusicBot/Dockerfile
T
Roxedus eb8159f8e2 Build stuff
Jenkins will most likely fail
2020-06-14 15:46:57 +02:00

17 lines
345 B
Docker

FROM amd64/python:3.8.3-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