Closed rexim closed 7 years ago
There is no need for that: https://github.com/tsoding/tsoder/tree/3c73fc94d811cf0016584df9d72e2ed09b0701af#docker
When you create a container with docker create -e ACCESS_TOKE=<access-token>
the envar is "baked" into the container. We don't need to bake it on the image level.
Right now to run the application you have to provide the ACCESS_TOKEN for the docker run command like so:
We need to be able provide the ACCESS_TOKEN at the docker build time like so: