# Developing Rasa in Dockerfile

**URL:** <https://forum.rasa.com/t/developing-rasa-in-dockerfile/44957>\
**Category:** Rasa Open Source\
**Created:** [June 23, 2021, 10:12am UTC](https://forum.rasa.com/t/developing-rasa-in-dockerfile/44957 "2021-06-23T10:12:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![henseljahja](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@henseljahja](https://forum.rasa.com/u/henseljahja)\
**Post date:** [June 23, 2021, 10:12am UTC](https://forum.rasa.com/t/developing-rasa-in-dockerfile/44957/1 "2021-06-23T10:12:28Z")

</div>

I have been trying to develop rasa from poetry and running dockerfile, heres my code

```auto
FROM python:3.7-slim 

RUN mkdir /app 

COPY pyproject.toml /app 

WORKDIR /app

ENV PYTHONPATH=${PYTHONPATH}:${PWD} 

RUN pip3 install poetry

RUN poetry config virtualenvs.create false

RUN poetry install --no-dev

EXPOSE 5005

CMD "rasa run -m models --enable-api --cors '*' --debug"

```

and heres the error code

```auto
/bin/sh: 1: rasa run -m models --enable-api --cors '*' --debug: not found

```

does anyone know how to solved it?

---

<div class="post-metadata">

**Author:** ![emil.alasgarov](https://avatars.discourse-cdn.com/v4/letter/e/7ea924/32.png) [@emil.alasgarov](https://forum.rasa.com/u/emil.alasgarov)\
**Post date:** [June 23, 2021, 10:28am UTC](https://forum.rasa.com/t/developing-rasa-in-dockerfile/44957/2 "2021-06-23T10:28:47Z")

</div>

Hello, you also need to run pip install rasa

---

<div class="post-metadata">

**Author:** ![henseljahja](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@henseljahja](https://forum.rasa.com/u/henseljahja)\
**Post date:** [June 23, 2021, 10:30am UTC](https://forum.rasa.com/t/developing-rasa-in-dockerfile/44957/3 "2021-06-23T10:30:08Z")

</div>

Hi, i have already configured it inside the `poetry install`. It works on the local machine, but doesnt seem to work in docker
