diff --git a/Dockerfile b/Dockerfile index d472b06..26f89b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,4 @@ RUN apt install -y make COPY . . RUN lein uberjar -Entrypoint ["make", "run"] +Entrypoint ["bash", "-c", "while :; do java -jar target/uberjar/isahn-1.0.2-standalone.jar; sleep 1; done"] diff --git a/Makefile b/Makefile index e1138b2..d47b4c8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ .DEFAULT_GOAL := build run: - cd /usr/src/app/ lein uberjar while :; do java -jar target/uberjar/isahn-1.0.2-standalone.jar; sleep 1; done