When running the Applikation as a Docker in Redhats Openshift, we where unable to use Port 80 due to Security issues.
We would propose checking for a environment variable (Example: app_port) and starting the Server on that Port.
Also in Openshift the File "./node_modules/splunk-sdk/bin/cli.js" is not writable during runntime, proposal to fix this is to add
RUN chmod g+w node_modules/splunk-sdk/bin/cli.js
in the dockerfile after
# Verify that Splunk SDK is installed
RUN node ./node_modules/splunk-sdk/sdkdo -V
RUN cd ./../../
When running the Applikation as a Docker in Redhats Openshift, we where unable to use Port 80 due to Security issues. We would propose checking for a environment variable (Example: app_port) and starting the Server on that Port.
Also in Openshift the File "./node_modules/splunk-sdk/bin/cli.js" is not writable during runntime, proposal to fix this is to add
RUN chmod g+w node_modules/splunk-sdk/bin/cli.js
in the dockerfile after