Dockerfiles not ignored anymore

pull/8/head
J. Fernando Sánchez 8 years ago
parent 4dee623ef9
commit 8624562f02

@ -0,0 +1,5 @@
from python:2.7-onbuild
RUN pip install .
ENTRYPOINT ["python", "-m", "senpy", "-f", ".", "--host", "0.0.0.0"]

@ -0,0 +1,5 @@
from python:3.4-onbuild
RUN pip install .
ENTRYPOINT ["python", "-m", "senpy", "-f", ".", "--host", "0.0.0.0"]

@ -8,6 +8,7 @@ VERSION=$(shell cat $(NAME)/VERSION)
all: build run
dockerfiles: $(addprefix Dockerfile-,$(PYVERSIONS))
ln -s Dockerfile-{PYMAIN} Dockerfile
Dockerfile-%: Dockerfile.template
sed "s/{{PYVERSION}}/$*/" Dockerfile.template > Dockerfile-$*

Loading…
Cancel
Save