Dockerfile 267 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
FROM openjdk:8-jdk-slim-stretch

WORKDIR /app

RUN apt-get update && apt-get install -y openjfx && rm -rf /var/lib/apt/lists/*

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

CMD java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8787 -jar app.jar