Docker Image for spring-boot-rest-demo application ,created using dockerfile-spotify-plugin
55
#Getting the base Image to run the Applicaion FROM openjdk:8-jdk-alpine
#Providing the maintainer information MAINTAINER Suraj Ashok Bodade [email protected]
#Adding volume for the Container VOLUME /tmp
#Opening the ports for connection EXPOSE 8080
#Adding application war file to docker container ADD target/spring-boot-rest-example-2.0.6-SNAPSHOT.jar application.jar
#Need to Specify Entrypoint for the Container ENTRYPOINT ["java","-Dspring.profiles.active=test","-jar","/application.jar"]
Content type
Image
Digest
Size
100.7 MB
Last updated
almost 8 years ago
docker pull sunrays86/spring-boot-rest-demo-docker:0.0.1-SNAPSHOT