HUB
Sign inSign up
spring-boot-rest-demo logo

sunrays86/spring-boot-rest-demo

By sunrays86

•Updated about 8 years ago

Docker image for Spring-Boot-Rest-Demo Application

Image
0

85

sunrays86/spring-boot-rest-demo repository overview

#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 8090 EXPOSE 8091 #For Other information of container

#Adding application war file to docker container ADD target/spring-boot-rest-example-0.5.0.war application.war

#Need to Specify Entrypoint for the Container ENTRYPOINT ["java","-Dspring.profiles.active=test","-jar","/application.war"]

Tag summary
Recent tags
Content type
Image
Digest
Size
100.7 MB
Last updated
about 8 years ago
docker pull sunrays86/spring-boot-rest-demo:0.0.1-SNAPSHOT