Permission denied when using custom docker-compose

@jpark2111 there is no rasa install and why are you using Python 3.8-slim if you are not creating any env?

@jpark2111

For Demo use only:

FROM rasa/rasa:2.8.0
WORKDIR '/app'
COPY . /app
USER root
# WORKDIR /app
# COPY . /app
COPY ./data /app/data
RUN  rasa train
VOLUME /app
VOLUME /app/data
VOLUME /app/models
CMD ["run","-m","/app/models","--enable-api","--cors","*","--debug" ,"--endpoints", "endpoints.yml", "--log-file", "out.log", "--debug"]

Try to update your docker file, take something from code :slight_smile:

OR

Just try to mention USER root in your file and check. But, I have a doubt it will not run again.

Even, your run command doesn’t have the model and you also do not mount the model in the docker container, show how he will run the model?

The solution here is USER root that’s why it shows Permission denied.

@jpark2111 For running completely code in docker and docker-compose for Rasa Open source please visit this thread: Dockerizing my rasa chatbot application that has botfront - #11 by nik202

If you still have some burning questions or doubt, you know I’m here :slight_smile: Good Luck! I hope this will help you.