2024-03-03 22:57:07 -05:00
|
|
|
FROM eclipse-temurin:17-jre-jammy AS base-core
|
2021-04-01 02:58:19 -04:00
|
|
|
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
|
2023-01-14 21:51:03 -05:00
|
|
|
RUN apt update && apt install -y ttf-dejavu
|
2021-04-01 02:58:19 -04:00
|
|
|
ENV PATH=$PATH:${JAVA_HOME}/bin
|
|
|
|
|
|
|
|
|
|
|
|
FROM base-core
|
2021-04-01 03:23:43 -04:00
|
|
|
RUN mkdir /lc-core
|
2024-03-03 22:02:35 -05:00
|
|
|
COPY target/scala-3.3.3/LibreCaptcha.jar /lc-core
|
2021-04-01 02:58:19 -04:00
|
|
|
WORKDIR /lc-core
|
|
|
|
RUN mkdir data/
|
|
|
|
|
|
|
|
EXPOSE 8888
|
|
|
|
|
|
|
|
CMD [ "java", "-jar", "LibreCaptcha.jar" ]
|