Developing a query runner

Hi, my task is to develop a query runner for redash and I am new to docker.
After I have finished the Docker Based Developer Installation Guide (https://redash.io/help/open-source/dev-guide/docker) I create a query runner python file like descripted here (Creating a new query runner (data source) in Redash). My question is, how to add this python file to the docker container. Can it be done with the “docker cp” command or with the volumes directive of docker-compose.

When using docker-compose to run the server we have a volume configured, which means you don’t have to do anything, whenever you change the code it will be sync with docker :slight_smile:. Just make sure to run the server using the docker-compose up command.

1 Like

Thanks for reply and this hint.