R
Runpod•7mo ago
dalton57918

Buil docker with environment variables

Hi, I try to build a docker from github repo:https://github.com/weaviate/multi2vec-clip-inference. And I setup env variables but I have the error: 2025-03-31 18:51:46 [INFO] > [8/9] RUN ./download.py: 2025-03-31 18:51:46 [INFO] 2.112 ERROR:root:Fatal: TEXT_MODEL_NAME is required How can I enable env variables at build? Thanks,
No description
20 Replies
Eren
Eren•7mo ago
You can write them inside your Dockerfile for a quick fix, I remember Runpod had this on their roadmap like couple months ago
Thierry
Thierry•7mo ago
Yeah we're stuck because of this as well. Unfortunately we need to add HF api keys to download the models and writing this in the dockerfile is not an option!
Eren
Eren•7mo ago
Your only option is building the docker image, pushing to dockerhub, and pulling from there
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
riverfog7
riverfog7•7mo ago
Try github actions with their secrets feature.
Captain Barbossa
Captain Barbossa•7mo ago
How could this works ? We don't have any access to the Github Actions workflows, we can't set up the .env variables in the workflows I hope, this is a must, I'm sure a lot of people are waiting for this
riverfog7
riverfog7•7mo ago
In github actions you can get the api keys from the github secrets where you can store them securely (they do not appear on your repository)
Captain Barbossa
Captain Barbossa•7mo ago
Yes, but with the current Runpods configuration, we don't have access to the Github actions worflows, it is on Runpods side
riverfog7
riverfog7•7mo ago
Lol I meant not to use runpod for the image building process until they release that feature
Thierry
Thierry•6mo ago
@PRB Still no ETA on the env variables for github deployment?
Dj
Dj•6mo ago
I think this came out recently? Let me check I know I've seen it.
Dj
Dj•6mo ago
@Thierry 😄
No description
Unknown User
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
Eren
Eren•6mo ago
@Dj not popping out on my interface
Dj
Dj•6mo ago
:blobextranervous: Let me make sure this isn't feature flagged or something and I didn't just casually leak this
Dj
Dj•6mo ago
Whoops 😄
No description
kaj
kaj•6mo ago
lol
Dj
Dj•6mo ago
@Eren Okay so I asked, I can give you this feature and work on getting it released. DM me the email on your RunPod account @Jason Do you want it as well?
Unknown User
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?