How to mount a file in Docker to the server's hard drive
I am deploying Asp.net core application using docker but I have no problem when I cannot mount some utility files in the Docker application to drive on the server. Every time I update the image again, my utility file does not save any data of the old image.
version: "3.3" services: mywebsite: image: registry.gitlab.com/tuananh300496/myloveproject:main ports: - "3005:80"
Please suggest to me how to solve this problem.
Huyền Trần thị Dec 31 2020
To solve this problem edit the file