Can anyone help me with something, I'm trying to run a web server over the cardano-node docker image.
I have some solutions in mind but I would like to have some feedback from you.
Approach # 1
Build a new image over the cardano-node docker image that install node and runs my server code.
My questions around this are:
- Where can I find the cardano-node Dockerfile? I need to know what is already setup and what is the underlaying Linux distro.
- Related to the previous one, how can I install Node over the cardano-node image? I have tried multiple mechanisms like apt-get and nothing works.
Approach # 2
Create my webserver in a different docker image and make the container communicate with the cardano-node container.
Questions:
- How can I communicate my web server container with the cardano-node container so I can run the cardano-cli commands?