Docker image for running the spring-boot-websocket-chat-demo application.
237
#Dockerfile code is here
FROM openjdk:8-jdk-alpine
MAINTAINER Suraj Ashok Bodade [email protected]
VOLUME /tmp
EXPOSE 8080
ARG JAR_FILE=target/websocket-demo-0.0.1-SNAPSHOT.jar
ADD ${JAR_FILE} websocket-demo.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/websocket-demo.jar"]
docker pull sunrays86/spring-boot-websocket-chat-demo:0.0.1-SNAPSHOT