Open ruifengma opened 11 months ago
The execution code of the n8n (inside node npm) is here (only one line):
result = subprocess.run(["n8n", "execute", "--file", temp_file_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
If you want to use n8n inside a docker, you can replace the command line with your docker container. the temp_file_path
gives directly the temp json file of workflow path in your host file system. You may have to bind a volume or copy the temp json into the docker container.
Sorry for delayed response and thanks for your support for our project!
Do you support to interact with n8n inside docker file, where can I find the doc related to it? Thanks in advance.