aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/Dockerfile3
-rw-r--r--tox.ini2
2 files changed, 3 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index e4adf2a6..edeb5b50 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -5,7 +5,8 @@ RUN mkdir /bot
COPY . /bot
WORKDIR /bot
-ENV LIBRARY_PATH=/lib:/usr/lib
+ENV LIBRARY_PATH=/lib:/usr/lib \
+ PIPENV_VENV_IN_PROJECT=1
RUN pip install pipenv
RUN pipenv install --deploy --system
diff --git a/tox.ini b/tox.ini
index bff048cb..cbf21e33 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,5 +2,5 @@
max-line-length=120
application_import_names=bot
ignore=P102,B311,W503,E226,S311
-exclude=__pycache__, venv, .venv, tests
+exclude=__pycache__,venv,.venv,tests,.cache
import-order-style=pycharm