VOLUME declares a file or directory as a volume. If the path already exists in the image, its contents are copied into the volume at container start. Multiple arguments define multiple volumes.
For security and portability, you cannot bind a host directory as a volume inside a Dockerfile — use -v at runtime instead.
Example:
FROM nginx:latest
VOLUME ["/usr/share/nginx/html/"]
Andrew Dorokhov