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

6 messages · Page 1 of 1 (latest)

tropic abyss
#

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.

coarse iceBOT
#

Project ID: N/A

mossy escarp
#

sorry but we don't support that at this time

#

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

tropic abyss
#

I understand, thanks for the confirmation 🙂

mossy escarp
#

!s