lc-core/Runner.Dockerfile

16 lines
335 B
Docker
Raw Permalink Normal View History

2021-04-01 02:58:19 -04:00
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
2021-04-01 03:23:43 -04:00
RUN mkdir /lc-core
2022-02-01 23:17:03 -05:00
COPY target/scala-3.1.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" ]