aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
blob: 9c4406bf1270b1cb0c37a789217be92a569b6b42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.6-alpine3.7
RUN apk add --update tini git

RUN mkdir /bot
COPY . /bot
WORKDIR /bot

ENV LIBRARY_PATH=/lib:/usr/lib

RUN pip install pipenv
RUN pipenv install --deploy --system

ENTRYPOINT ["/sbin/tini", "--"]
CMD ["python", "-m", "bot"]