makefile: docker build syntax
This commit is contained in:
parent
6e80afca8b
commit
26531f81f4
4
Makefile
4
Makefile
@ -1,8 +1,8 @@
|
||||
GEONATURE_CITIZEN_TAG = 0.99.1-dev
|
||||
.PHONY: start init
|
||||
.PHONY: start init dev
|
||||
|
||||
dev: init
|
||||
docker image inspect geonature >/dev/null 2>&1 || docker build -f vendor/GeoNature-citizen/Dockerfile -t geonature
|
||||
docker image inspect geonature >/dev/null 2>&1 || docker build vendor/GeoNature-citizen -t geonature
|
||||
docker container inspect geonature >/dev/null 2>&1 || (\
|
||||
docker run -it -d -p 8080:80 --name geonature geonature &&\
|
||||
docker cp patches/settings.ini geonature:config/ &&\
|
||||
|
Loading…
Reference in New Issue
Block a user