I want to deploy my Magento 2 application using docker to production using CodeBuild.
For this I do the following steps
- build an image and copy data into it
- when the image is build I
exec
into it, to put the application in production mode and to generate static files.
How can I keep those file which are generated in the docker container and preserve it into the image?
Thanks