How can I specific target for Dockerfile in railway.json file at build time?

I have multi-steps in a single Dockerfile (including dev and prod) stages.

and for production I want the dockerfile to use prod stage for building.

Solved

4 Replies

brody
EMPLOYEE

a year ago

sorry but we don't support that at this time


brody
EMPLOYEE

a year ago

you would want to have separate dockerfile like Dockerfile.dev and Dockerfile.prod


I understand, thanks for the confirmation 🙂


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody 12 months ago


Loading...