How should I manage my assets folder with docker? Whenever I deploy, the content of the folder that has been updated disappears because the image is rebuilt. Any advice or solution? Thanks!
Where does your assets folder resides? If it is under the project folder, it should be also deployed together with all the other files.
The local assets folder is uploaded correctly with the deploy, the problem comes when someone from the running application uploads any file, when I make modifications and update the container again, their information will disappear.
Should I store my assets folder in another container or online storage service?
For user uploads you need to define a mapping outside of the container to a folder in the host server.
This way it won’t get lost on rebuilds.