aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-04-29 14:08:29 +0200
committerGravatar Christopher Baklid <[email protected]>2018-04-29 14:08:29 +0200
commitd9fd62f95671eabb9e353159d7de165b41b00624 (patch)
tree642cdd9e52b2391f2ee0d0917322af69dcaa1d1d
parentpreinstall environment in the base container (diff)
use pip script
-rw-r--r--Dockerfile2
-rw-r--r--Pipfile4
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"]
diff --git a/Pipfile b/Pipfile
index b684de024..93338d7c5 100644
--- a/Pipfile
+++ b/Pipfile
@@ -27,3 +27,7 @@ requests = "*"
[requires]
python_version = "3.6"
+
+[scripts]
+
+start = "python -m bot"