HUB
Sign inSign up
spring-boot-websocket-chat-demo logo

sunrays86/spring-boot-websocket-chat-demo

By sunrays86

•Updated about 8 years ago

Docker image for running the spring-boot-websocket-chat-demo application.

Image
0

237

sunrays86/spring-boot-websocket-chat-demo repository overview

#Dockerfile code is here

⁠Start with a base image containing Java runtime

FROM openjdk:8-jdk-alpine

⁠Add Maintainer Info

MAINTAINER Suraj Ashok Bodade [email protected]⁠

⁠Add a volume pointing to /tmp

VOLUME /tmp

⁠Make port 8080 available to the world outside this container

EXPOSE 8080

⁠The application's jar file

ARG JAR_FILE=target/websocket-demo-0.0.1-SNAPSHOT.jar

⁠Add the application's jar to the container

ADD ${JAR_FILE} websocket-demo.jar

⁠Run the jar file

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/websocket-demo.jar"]

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