16 lines
344 B
Docker
16 lines
344 B
Docker
FROM eclipse-temurin:17-jre-jammy AS base-core
|
|
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
|
|
RUN apt update && apt install -y fonts-dejavu
|
|
ENV PATH=$PATH:${JAVA_HOME}/bin
|
|
|
|
|
|
FROM base-core
|
|
RUN mkdir /lc-core
|
|
COPY target/scala-3.5.2/LibreCaptcha.jar /lc-core
|
|
WORKDIR /lc-core
|
|
RUN mkdir data/
|
|
|
|
EXPOSE 8888
|
|
|
|
CMD [ "java", "-jar", "LibreCaptcha.jar" ]
|