Roey Brecher
11/10/2020, 12:51 PMenv_vars
in the Docker Storage, are variables that are added to the end of my Dockerfile. this should probably be mentioned in the documentation.
Since the ENV command is added to the end of the file, you cannot actually pass any variables that are used in the build process itself.Jenny
11/10/2020, 3:44 PMjames.lamb
11/10/2020, 3:45 PMRoey Brecher
11/10/2020, 3:57 PM.env
file and this Docker command:
RUN export $(cat ./.env | grep -v '#' | awk '/=/ {print $1}')
You then need to make sure you have a .env
file being copied to the container during build.Jenny
11/10/2020, 4:02 PM