import.meta.env vars for vite with nixpacks
moogmodular
HOBBYOP

a year ago

I get that you have to do it like this with Dockerfile builder: https://docs.railway.com/guides/dockerfiles#using-variables-at-build-time

But what about nixpack builds?

Solved

2 Replies

a year ago

Hello,

Nixpacks does it automatically.

Best,

Brody


Status changed to Awaiting User Response Railway about 1 year ago


brody

Hello, Nixpacks does it automatically. Best, Brody

moogmodular
HOBBYOP

a year ago

Thank you for the quick reply. Figured it out.


Status changed to Awaiting Railway Response Railway about 1 year ago


Status changed to Solved brody about 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...