openstreetmap-tile-server/Makefile

12 lines
412 B
Makefile
Raw Normal View History

2018-05-08 20:43:34 +00:00
.PHONY: build push test
build:
docker build -t overv/openstreetmap-tile-server .
push: build
docker push overv/openstreetmap-tile-server:latest
test: build
docker volume create openstreetmap-data
docker run -v openstreetmap-data:/var/lib/postgresql/10/main overv/openstreetmap-tile-server import
docker run -v openstreetmap-data:/var/lib/postgresql/10/main -p 80:80 -d overv/openstreetmap-tile-server run