Reputation: 319
I have a React App which needs to be Dockerized. In public folder I have 4GB of .png images. Just wondering if it is a good idea to dockerize the entire app or is there any other way to do it ?
Upvotes: 0
Views: 126
Reputation: 78
You could dockerize the app and put the folder with the images outside and just volume it in. Saving both time on build and space in the container.
docker run --name containername -v ~/Folder-outside:/images -d imagename:latest
Upvotes: 1