Explorar el Código

Set python path

This is needed to allow the `django-admin` command to work
Jake Howard hace 2 años
padre
commit
a6da124a82
Se han modificado 1 ficheros con 1 adiciones y 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=" \