aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Scragly <[email protected]>2019-03-09 23:01:07 +1000
committerGravatar Scragly <[email protected]>2019-03-09 23:01:07 +1000
commit610bfe0820bd797f522f717509c778e80b3d9848 (patch)
treeddbac5b1fcb879856da092f2fd0ed889563ec757
parentAdd new lock file. (diff)
Venv in project, add `.cache` in lint ignore.
-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