Description
GenRocket provides a Docker image you can download and use for a containerized environment. The Genrocket-provided Docker image has GenRocket Runtime installed. Click here to learn more about using the provided Docker image.
However, you can also create a custom Docker image with the help of the Docker template provided in this article. This is beneficial in cases where you want to launch a service with GenRocket Runtime inside, along with the other configuration files required to launch the service that you want to customize.
Once finished, you can click here for the steps needed to finish the Docker setup. Remember to install GenRocket Runtime as well!
Docker Template
A Docker file can be created with the following content:
The <orgExternalID> can be obtained from the My Organization page in the GenRocket web platform.
docker-entrypoint file
The above script is dependent on the docker-entrypoint file. The content of the docker-entrypoint file is shown below: