diff --git a/Dockerfile b/Dockerfile index d1acb8506..bc1e987a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,8 @@ ENV VIRTUAL_ENV /opt/$APP_NAME/venv ENV PYTHONUNBUFFERED 1 # Do not write Python .pyc files ENV PYTHONDONTWRITEBYTECODE 1 +# Add the app dir in the Python path for entry points availability +ENV PYTHONPATH $PYTHONPATH:$APP_DIR # OS requirements as per # https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html