DEV Community


Discussion on: Run a React App in a Docker Container

peterj profile image
Peter Jausovec Author

Yes, you're right. In the first stage, the /app folder contains all files due to the COPY . . command. In the second stage, the only thing in the /app folder are the contents of the /app/build folder from stage one (copy --from=builder /app/build .)