lc-core/Runner.Dockerfile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
343 B
Docker
Raw Normal View History

FROM adoptopenjdk/openjdk16:latest AS base-core
2021-04-01 12:28:19 +05:30
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
2023-01-15 08:21:03 +05:30
RUN apt update && apt install -y ttf-dejavu
2021-04-01 12:28:19 +05:30
ENV PATH=$PATH:${JAVA_HOME}/bin
FROM base-core
2021-04-01 12:53:43 +05:30
RUN mkdir /lc-core
2023-09-09 08:31:18 +05:30
COPY target/scala-3.3.1/LibreCaptcha.jar /lc-core
2021-04-01 12:28:19 +05:30
WORKDIR /lc-core
RUN mkdir data/
EXPOSE 8888
CMD [ "java", "-jar", "LibreCaptcha.jar" ]