diff --git a/Dockerfile.moth-devel b/Dockerfile.moth-devel index 8058a5b..ba6a4d8 100644 --- a/Dockerfile.moth-devel +++ b/Dockerfile.moth-devel @@ -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"] diff --git a/build.sh b/build.sh index 12792c2..d0cec51 100755 --- a/build.sh +++ b/build.sh @@ -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