cog icon indicating copy to clipboard operation
cog copied to clipboard

Pass environment variables from cog.yaml to build stage

Open okapusta opened this issue 1 year ago • 2 comments

Allow to pass environment variables to docker file template during build

Example:

build:
  gpu: false
  environment:
    - ENV_VAR_NAME=some_value
    - SOME_OTHER_VAR=anything_goes
predict: predict.py:Predictor

okapusta avatar Nov 17 '24 13:11 okapusta

This would be good to have... IMO..

mcam10 avatar Jan 06 '25 19:01 mcam10

wassup

AlexanderKozhevin avatar Feb 12 '25 14:02 AlexanderKozhevin