This is copied from https://github.com/Biorn1950/EzShare-SdcardWifi-Downloader and slightly modified to take more of it's parameters from environment variables. Read the shell script in the repo for environment variables you want to set in order to control the behavior.
To use this image:
docker pull ghcr.io/claytono/ezshare-sync:latest