How to modify Dockerfile?

The /shared dir inside the container is mapped, by default, to /var/discourse/shared/standalone so you are missing a directory in there.