Skip to content
Discussion options

You must be logged in to vote

@predragnikolic I do think you missunderstood the feature. When deploying via git, the nixpacks will create a Dockerfile. As reminder, environment variables for the build time are defined via ARG and willn't be available in the final container, while those defined by ENV will be available inside the final container. So, some people can need build time variables only (this is when the checkbox is checked), while other people can require env variables for the runtime. See also : https://nixpacks.com/docs/how-it-works

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by peaklabs-dev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants