CCP2 Runtime Environment
Runtime Environment Goals Build optimized Dockerfiles, so-called multi-stage Dockerfiles. Recap the concepts of buildpacks Discover the functionality of buildpacks Investigate the internals and structure of buildpacks. Multi stage Dockerfiles Builder pattern
two seperate Dockerfiles were used. one that contained everything needed to build the application. one for production that contained everything to run the app.
Multi Stage Dockerfile
can be solved with this by having a build and a run stage