Skip to content

Pass environment variables from cog.yaml to build stage#2060

Open
okapusta wants to merge 1 commit intoreplicate:mainfrom
okapusta:cog-yaml-build-env
Open

Pass environment variables from cog.yaml to build stage#2060
okapusta wants to merge 1 commit intoreplicate:mainfrom
okapusta:cog-yaml-build-env

Conversation

@okapusta
Copy link

@okapusta okapusta commented Nov 17, 2024

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

Signed-off-by: Oskar Kapusta <kapuszasty@gmail.com>
@mcam10
Copy link

mcam10 commented Jan 6, 2025

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

@AlexanderKozhevin
Copy link

wassup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants