R
Railway2y ago
elieh

Multistage docker builds

Hi! We use a multistage docker build as described here: https://docs.docker.com/language/golang/build-images/#multi-stage-builds Is this possible with Railway and are there any catches?
Docker Documentation
Build your Go image
Learn how to build your first Docker image by writing a Dockerfile
8 Replies
Percy
Percy2y ago
Project ID: 20ec97d6-7eaa-445a-911a-589b8c86d32f
elieh
eliehOP2y ago
Project: 20ec97d6-7eaa-445a-911a-589b8c86d32f
Brody
Brody2y ago
I use multistage docker builds and I've never had a problem, are you running into any problems or just inquiring?
elieh
eliehOP2y ago
Just inquiring, assumed there would need to be a way to pass the "target" to railway How does it know what stage to deploy?
Brody
Brody2y ago
the last stage where the entrypoint or cmd commands are
elieh
eliehOP2y ago
got it, alright thanks!
Brody
Brody2y ago
no problem!
Want results from more Discord servers?
Add your server