Dockerfile 214 B

123456
  1. FROM fabletang/jre8-alpine
  2. ARG JAR_FILE=./target/background-user.jar
  3. ADD ${JAR_FILE} app.jar
  4. RUN bash -c 'touch /app.jar'
  5. ENTRYPOINT java -Xms128m -Xmx256m -Dfile.encoding=utf-8 -Duser.timezone=GMT+0 -jar /app.jar