Update launcher

This commit is contained in:
Andros Fenollosa 2024-05-28 22:26:13 +02:00
parent 32036bfdc0
commit 967f472ec2
2 changed files with 1 additions and 2 deletions

View File

@ -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"]

View File

@ -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