Dockerfile that installs all the dependencies and runs the PDF/PNG export server
The OpenShift CLI okd is needed
Login to your account
oc login https://openshift.cern.ch --token=<token>
Select the project
oc project <project name>
Create the application
oc new-app . --strategy=docker
The repository specified in the OpenShift build bust be HTTPS
Expose the service
oc expose svc/<app-name>
Enable HTTPS redirection
- Enter Applications > Routes
- Select the route to be modified
- Actions > Edit (top right)
- Mark "Secure route"
- Set "Insecure Traffic" to "Redirect"