Public Repository

Last pushed: 5 months ago
Short Description
Short description is empty for this repo.
Full Description

Dockerfile

FROM frolvlad/alpine-oraclejdk8:slim
VOLUME /tmp
ADD springboot-demo.jar app.jar
RUN sh -c 'touch /app.jar'
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ]

maven:

mvn clean  package docker:build
Docker Pull Command
Owner
zhangjun05

Comments (0)