Files
ShiteMusicBot/Dockerfile
T
Roxedus cc4bf974c1 Feature/new docker (#17)
* Run arguments

Introduced self.bot.datafolder

* Improved container

Utilizing the new run-args

* Better tagging

* Consistency
2019-07-07 21:41:21 +02:00

17 lines
311 B
Docker

FROM amd64/python:3.7.3-alpine
LABEL maintainer="Roxedus"
COPY / /app
RUN \
apk add --no-cache 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