Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants