Skip to content

Commit 279e7aa

Browse files
committed
dockerfile for activemq
1 parent a6963d0 commit 279e7aa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

activemq/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM maven:3-jdk-8-alpine AS build
2+
COPY src /opt/src
3+
COPY pom.xml /opt/src
4+
RUN mvn -f /opt/src/pom.xml clean package
5+
6+
FROM openjdk:8-jre-alpine
7+
COPY --from=build /opt/src/target/websocket-gateway-demo-activemq-0.0.1-SNAPSHOT.jar /opt/app.jar
8+
EXPOSE 61613
9+
ENTRYPOINT ["java","-jar","/opt/app.jar"]

0 commit comments

Comments
 (0)