latest
This commit is contained in:
17
osmand-maps/Makefile
Normal file
17
osmand-maps/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user