IMAGE := osmand-maps default: build-and-run build-and-run: build run build: script -a log.txt docker build -t $(IMAGE) . run: docker rm -f osmand-maps script -a log.txt docker run \ -v /webroot:/work/webroot \ -v /download:/work/download \ -p 80:80 \ --name osmand-maps \ $(IMAGE)