mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-12 06:23:19 -05:00
16 lines
335 B
Docker
16 lines
335 B
Docker
FROM adoptopenjdk/openjdk16:alpine-jre AS base-core
|
|
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
|
|
RUN apk add --update ttf-dejavu
|
|
ENV PATH=$PATH:${JAVA_HOME}/bin
|
|
|
|
|
|
FROM base-core
|
|
RUN mkdir /lc-core
|
|
COPY target/scala-3.1.2/LibreCaptcha.jar /lc-core
|
|
WORKDIR /lc-core
|
|
RUN mkdir data/
|
|
|
|
EXPOSE 8888
|
|
|
|
CMD [ "java", "-jar", "LibreCaptcha.jar" ]
|