Update devel server build rules for new layout

This commit is contained in:
Neale Pickett 2018-09-26 18:32:18 +00:00
parent fab2470975
commit e69fa74e0c
2 changed files with 2 additions and 2 deletions

View File

@ -7,4 +7,4 @@ COPY . /moth/
COPY example-puzzles /puzzles/
WORKDIR /moth/
ENTRYPOINT ["python3", "/moth/tools/devel-server.py", "--bind", ":8080", "--puzzles", "/puzzles"]
ENTRYPOINT ["python3", "/moth/devel/devel-server.py", "--bind", ":8080", "--puzzles", "/puzzles"]

View File

@ -6,6 +6,6 @@ version=$(date +%Y%m%d%H%M)
for img in moth moth-devel; do
echo "==== $img"
docker build --build-arg http_proxy=$http_proxy --tag dirtbags/$img --tag dirtbags/$img:$version -f Dockerfile.$img .
sudo docker build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy --tag dirtbags/$img --tag dirtbags/$img:$version -f Dockerfile.$img .
[ "$1" = "-push" ] && docker push dirtbags/$img:$version && docker push dirtbags/$img
done