i have to run some shell script which creates some certificates before the
What I have done in the past is have my entrypoint defined in the Dockerfile be a shell script and then run the
node command from within that script.
So in my Dockerfile I have this -
docker-start.sh script contains this:
#! /bin/bash # Initialization logic can go here echo "Starting node..." node start.js $* # The $* allows me to pass command line arguments that were passed to the docker run command. # Cleanup logic can go here