diff --git a/Dockerfile b/Dockerfile index 6e6a941..a737b37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin FROM base-core WORKDIR /lc-core -COPY --from=builder /build/target/scala-3.1.2/LibreCaptcha.jar . +COPY --from=builder /build/target/scala-3.2.0/LibreCaptcha.jar . RUN mkdir data/ EXPOSE 8888 diff --git a/tests/run.sh b/tests/run.sh index 8573d85..2343ee4 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -4,7 +4,7 @@ python3 -m venv testEnv source ./testEnv/bin/activate pip install locust mkdir -p data/ -java -jar target/scala-3.1.2/LibreCaptcha.jar & +java -jar target/scala-3.2.0/LibreCaptcha.jar & JAVA_PID=$! sleep 4 @@ -22,7 +22,7 @@ echo Run functional test cp data/config.json data/config.json.bak cp tests/debug-config.json data/config.json -java -jar target/scala-3.1.2/LibreCaptcha.jar & +java -jar target/scala-3.2.0/LibreCaptcha.jar & JAVA_PID=$! sleep 4