Dockerfile 335 Bytes
Newer Older
hengwen's avatar
hengwen committed
1
FROM openjdk:8-jdk
2 3 4

WORKDIR /app

5 6 7 8 9
RUN apt-get update && \
    apt-get install -y openjfx && \
    apt-get install -y metis && \
    rm -rf /var/lib/apt/lists/* && \
    cp /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/jfxrt.jar /usr/local/openjdk-8/jre/lib/ext/
10 11 12 13

COPY ./app.jar ./
COPY ./app.db ./classes/app.db

hengwen's avatar
hengwen committed
14
CMD java -jar app.jar