DEV Community

Discussion on: Dockerize Create-React-App in 3 minutes

Collapse
 
ziv profile image
zivka

So it depends on the system that builds the image. You can build it locally, or build it part of CI/CD.

As you can see, we are using COPY command which means the build machine should have this code locally.. In case you are using some GitHub actions/Jenkins/circle ci just start with checkout step in order to clone the updated repo

Collapse
 
vipul2008 profile image
Vipul Goel

Awesome Thank's!!