Added EXPOSE to Dockerfile. this way these ports will show up in docker GUIs like cockpit. Added VOLUME parameter, this renders creating the folder (/var/syncthing) obsolete.
This adds a multi stage build Dockerfile. The end state is equivalent to the current syncthing/docker repository (which will be retired).