getEnv in Nim not returning value

Attempting to read environment variables from a project using Nim doesn't seem to be working...
FROM nimlang/nim:1.6.12-alpine

WORKDIR /app

COPY . .

RUN nimble refresh

RUN nimble build -d:release

RUN ./janus
FROM nimlang/nim:1.6.12-alpine

WORKDIR /app

COPY . .

RUN nimble refresh

RUN nimble build -d:release

RUN ./janus
Am I going crazy, or am I doing something wrong?
14 Replies
Percy
Percy•2y ago
Project ID: 4f405531-048a-4b75-8595-be8855100446
MantisInABox
MantisInABoxOP•2y ago
4f405531-048a-4b75-8595-be8855100446
Brody
Brody•2y ago
screenshot of service variables please
MantisInABox
MantisInABoxOP•2y ago
MantisInABox
MantisInABoxOP•2y ago
GitHub
GitHub - vfehring/janus-verification: A Discord Verification Bot
A Discord Verification Bot. Contribute to vfehring/janus-verification development by creating an account on GitHub.
Brody
Brody•2y ago
vin
MantisInABox
MantisInABoxOP•2y ago
What did I do? 🤣
Brody
Brody•2y ago
the RUN derivative gets ran during build
MantisInABox
MantisInABoxOP•2y ago
I knew I was gonna do something stupid!
Brody
Brody•2y ago
you want CMD ./janus
MantisInABox
MantisInABoxOP•2y ago
I could kiss you right about now... but I won't! 🤣
Brody
Brody•2y ago
lol see, #help is usefull
MantisInABox
MantisInABoxOP•2y ago
I know it is... I just like to dig and try to figure it out first... How I learn! 😄
Brody
Brody•2y ago
that is always good
Want results from more Discord servers?
Add your server