DEV Community

Discussion on: Docker and Dancer

Collapse
domm profile image
domm

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

Collapse
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.