sheharyarn / cloudup.dev

Tools to jump-start development on the Cloud ☁️
https://cloudup.dev
106 stars 11 forks source link

Undefined MIX_ENV in Dockerfile #11

Closed am-nimrah closed 8 months ago

am-nimrah commented 8 months ago

The Dockerfile references the MIX_ENV argument without an explicit definition. To resolve this issue, consider adding the following line before the FROM statement: ARG MIX_ENV=prod This ensures that the MIX_ENV argument is defined, providing a default value of 'prod' unless explicitly overridden during the build.

sheharyarn commented 8 months ago

As mentioned in previous comments, the dockerfile files in the codebase are templates. In the UI, the user will see the MIX_ENV correctly defined and referenced in the rendered Dockerfile.