How to create RASA docker image (where RASA is built from source code)?

  1. If I perform below action :
git clone https://github.com/RasaHQ/rasa.git
cd rasa
make build-docker

Would it mean the generated docker has RASA installed from source?

  1. Essentially my question would be, will below snippet from this Dockerfile install RASA from source in the generated image?
# install dependencies
RUN python -m venv /opt/venv && \
  . /opt/venv/bin/activate && \
  pip install --no-cache-dir -U 'pip<20' && \
  poetry install --no-dev --no-root --no-interaction && \
  poetry build -f wheel -n && \
  pip install --no-deps dist/*.whl && \
  rm -rf dist *.egg-info