DEV Community

Discussion on: Docker and Dancer

domm profile image

You can also pack all your ENV vars into an env file and then do docker --env-file path/to/file.env ...

davorg profile image
Dave Cross Author

Yeah, I saw that, thanks. But the syntax I'm using passes existing environment variables to the container. As I understand it, the --env-file version requires me to hard-code the values in the file. And I'm not sure I want that.