docker build -t example .

#NOTE: if using Docker Toolbox on Windows, -v may fail to mount the directory if outside of the Users folder. Worked when used inside {user}/Documents/..., but not from /C/Docker/...
docker run --rm -v $PWD:/app -w /app example