update scala version in scripts

This commit is contained in:
hrj 2024-10-25 10:03:18 +05:30
parent 355e8c553a
commit f4737424f7
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin
FROM base-core
WORKDIR /lc-core
COPY --from=builder /build/target/scala-3.5.0/LibreCaptcha.jar .
COPY --from=builder /build/target/scala-3.5.2/LibreCaptcha.jar .
RUN mkdir data/
EXPOSE 8888

View File

@ -6,7 +6,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin
FROM base-core
RUN mkdir /lc-core
COPY target/scala-3.5.0/LibreCaptcha.jar /lc-core
COPY target/scala-3.5.2/LibreCaptcha.jar /lc-core
WORKDIR /lc-core
RUN mkdir data/

View File

@ -4,7 +4,7 @@ python3 -m venv testEnv
source ./testEnv/bin/activate
pip install locust
mkdir -p data/
java -jar target/scala-3.5.0/LibreCaptcha.jar &
java -jar target/scala-3.5.2/LibreCaptcha.jar &
JAVA_PID=$!
sleep 4