I think I’m taking one too many steps to do this, but I have 5 secrets I want to set as environment variables inside the container.
# Node image that builds node_modules, api, and single page web
And then in my Dockerfile I have:
ENV ONE $ONE
ENV TWO $TWO
ENV THREE $THREE
ENV FOUR $FOUR
ENV FIVE $FIVE
Yes, that is the correct syntax. The system will not automatically pass secrets or environment variables to the docker build process, so you need to enumerate which secrets are exposed, just like you are doing.