R
Railway•14mo ago
MantisInABox

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•14mo ago
Project ID: 4f405531-048a-4b75-8595-be8855100446
MantisInABox
MantisInABox•14mo ago
4f405531-048a-4b75-8595-be8855100446
Brody
Brody•14mo ago
screenshot of service variables please
MantisInABox
MantisInABox•14mo ago
MantisInABox
MantisInABox•14mo 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•14mo ago
vin
MantisInABox
MantisInABox•14mo ago
What did I do? 🤣
Brody
Brody•14mo ago
the RUN derivative gets ran during build
MantisInABox
MantisInABox•14mo ago
I knew I was gonna do something stupid!
Brody
Brody•14mo ago
you want CMD ./janus
MantisInABox
MantisInABox•14mo ago
I could kiss you right about now... but I won't! 🤣
Brody
Brody•14mo ago
lol see, #help is usefull
MantisInABox
MantisInABox•14mo ago
I know it is... I just like to dig and try to figure it out first... How I learn! 😄
Brody
Brody•14mo ago
that is always good