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

**URL:** <https://forum.rasa.com/t/how-to-create-rasa-docker-image-where-rasa-is-built-from-source-code/46362>\
**Category:** Rasa Open Source\
**Created:** [July 31, 2021, 2:32pm UTC](https://forum.rasa.com/t/how-to-create-rasa-docker-image-where-rasa-is-built-from-source-code/46362 "2021-07-31T14:32:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mriganktiwari](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mriganktiwari/32/15346_2.png) [@mriganktiwari](https://forum.rasa.com/u/mriganktiwari)\
**Post date:** [July 31, 2021, 2:32pm UTC](https://forum.rasa.com/t/how-to-create-rasa-docker-image-where-rasa-is-built-from-source-code/46362/1 "2021-07-31T14:32:57Z")

</div>

1. If I perform below action :

```auto
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](https://github.com/RasaHQ/rasa/blob/main/Dockerfile) install RASA from source in the generated image?

```auto
# 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

```
