Commit 6fd2641f authored by hengwen's avatar hengwen

Docker relative scripts for restful module

parent bd4a3384
FROM openjdk:8-jdk-slim-stretch
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
#!/usr/bin/env bash
cp ./target/classes/app.db app.db
cp ./target/restful-1.0.0-SNAPSHOT.jar app.jar
docker build -t restful-server:dev .
rm app.db
rm app.jar
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment