Environment variables empty in Docker container bash
I have a simple docker container that runs a script on startup which exports some variables. So the final line in my Dockerfile is CMD ./startup.sh And startup.sh has #!/usr/bin/env bash export testvar="test" echo $testvar node app.js The output in…