title: ModuleNotFoundError: No module named after poetry install
body: <p>Using DockerFile to build python application, Library will be built from source code added in</p>
  <p><code>[tool.poetry.dependencies]</code> facing problem when the container runs it raises <code>ModuleNotFoundError: No module named 'rasa_addons'</code></p>
  <p>Snap from pyproject.ml</p>
  <pre><code>rasa-addons = {path = &quot;rasa_addons&quot;}
  
  </code></pre>
  <p>Snap from build code in DockerFile</p>
  <pre><code>RUN python -m venv /opt/venv &amp;&amp; \
    . /opt/venv/bin/activate &amp;&amp; \
    pip install --no-cache-dir -U 'pip&lt;20' &amp;&amp; \
    poetry install --extras full --no-dev --no-root --no-interaction &amp;&amp; \
    poetry build -f wheel -n &amp;&amp; \
    pip install --no-deps dist/*.whl &amp;&amp; \
    rm -rf dist *.egg-info
  
  </code></pre>
  <p>It appears in pip listed libraries</p>
  <pre><code>Installing rasa-addons (2.2.5.2 /build/rasa_addons)
  
  </code></pre>