5 lines
189 B
Docker
5 lines
189 B
Docker
|
FROM openjdk:8-jdk-alpine
|
||
|
ADD target/springbootapp-0.0.1-SNAPSHOT.jar app.jar
|
||
|
EXPOSE 8080
|
||
|
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ]
|