diff options
| author | 2018-10-12 10:29:11 +1100 | |
|---|---|---|
| committer | 2018-10-12 10:29:11 +1100 | |
| commit | 010cb21de026cd3021fa29fc38f838b754bd540c (patch) | |
| tree | 73609ffc131e7aa76dc99dcd53286192696b86a2 /docker/Dockerfile | |
| parent | Fixed docstrings, add blank lines for readibility, method of finding last 10 ... (diff) | |
| parent | The app was logging to the wrong directory. This is now fixed. Also silenced ... (diff) | |
Merge remote-tracking branch 'upstream/master' into candy-collection
Diffstat (limited to 'docker/Dockerfile')
| -rw-r--r-- | docker/Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 00000000..9c4406bf --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,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"] + |