diff --git a/Dockerfile b/Dockerfile index ed29014..a2ac694 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin FROM base-core WORKDIR /lc-core -COPY --from=builder /build/target/scala-3.4.3/LibreCaptcha.jar . +COPY --from=builder /build/target/scala-3.5.0/LibreCaptcha.jar . RUN mkdir data/ EXPOSE 8888 diff --git a/Runner.Dockerfile b/Runner.Dockerfile index eb70fa8..56f131a 100644 --- a/Runner.Dockerfile +++ b/Runner.Dockerfile @@ -6,7 +6,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin FROM base-core RUN mkdir /lc-core -COPY target/scala-3.4.3/LibreCaptcha.jar /lc-core +COPY target/scala-3.5.0/LibreCaptcha.jar /lc-core WORKDIR /lc-core RUN mkdir data/ diff --git a/tests/run.sh b/tests/run.sh index 239de47..46729ce 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.4.3/LibreCaptcha.jar & +java -jar target/scala-3.5.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.4.3/LibreCaptcha.jar & +java -jar target/scala-3.5.0/LibreCaptcha.jar & JAVA_PID=$! sleep 4