2023-01-14 21:45:04 -05:00
|
|
|
FROM adoptopenjdk/openjdk16:latest AS base-core
|
2021-04-01 02:58:19 -04:00
|
|
|
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
|
|
|
|
RUN apk add --update ttf-dejavu
|
|
|
|
ENV PATH=$PATH:${JAVA_HOME}/bin
|
|
|
|
|
|
|
|
|
|
|
|
FROM base-core
|
2021-04-01 03:23:43 -04:00
|
|
|
RUN mkdir /lc-core
|
2022-11-29 23:21:52 -05:00
|
|
|
COPY target/scala-3.2.1/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" ]
|