Explorar o código

Set python path

This is needed to allow the `django-admin` command to work
Jake Howard %!s(int64=2) %!d(string=hai) anos
pai
achega
a6da124a82
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -19,7 +19,7 @@ RUN set -ex \
     && rm -rf /var/lib/apt/lists/*
 
 ADD requirements/ /requirements/
-ENV VIRTUAL_ENV=/venv PATH=/venv/bin:$PATH
+ENV VIRTUAL_ENV=/venv PATH=/venv/bin:$PATH PYTHONPATH=/code/
 
 RUN set -ex \
     && BUILD_DEPS=" \