diff options
author | 2018-04-29 14:08:29 +0200 | |
---|---|---|
committer | 2018-04-29 14:08:29 +0200 | |
commit | d9fd62f95671eabb9e353159d7de165b41b00624 (patch) | |
tree | 642cdd9e52b2391f2ee0d0917322af69dcaa1d1d | |
parent | preinstall environment in the base container (diff) |
use pip script
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | Pipfile | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 5928e4f07..350e38ec0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,4 @@ RUN pipenv clean RUN pipenv sync ENTRYPOINT ["/sbin/tini", "--"] -CMD ["pipenv", "run", "python", "-m", "bot"] +CMD ["pipenv", "run", "start"] @@ -27,3 +27,7 @@ requests = "*" [requires] python_version = "3.6" + +[scripts] + +start = "python -m bot" |