add dockerfile for each microservice

pull/2828/head
黄sir 2 years ago
parent 7ed0413726
commit 442e8d0481

@ -0,0 +1,5 @@
FROM openjdk:8
ADD /target/integrated-account-2.2.9-SNAPSHOT.jar /app.jar
RUN bash -c 'touch /app.jar'
EXPOSE 8012
ENTRYPOINT ["java", "-jar","/app.jar"]

@ -0,0 +1,5 @@
FROM openjdk:8
ADD /target/integrated-frontend-2.2.9-SNAPSHOT.jar /app.jar
RUN bash -c 'touch /app.jar'
EXPOSE 8080
ENTRYPOINT ["java", "-jar","/app.jar"]

@ -0,0 +1,5 @@
FROM openjdk:8
ADD /target/integrated-gateway-2.2.9-SNAPSHOT.jar /app.jar
RUN bash -c 'touch /app.jar'
EXPOSE 30010
ENTRYPOINT ["java", "-jar","/app.jar"]

@ -0,0 +1,5 @@
FROM openjdk:8
ADD /target/integrated-order-2.2.9-SNAPSHOT.jar /app.jar
RUN bash -c 'touch /app.jar'
EXPOSE 8013
ENTRYPOINT ["java", "-jar","/app.jar"]

@ -0,0 +1,5 @@
FROM openjdk:8
ADD /target/integrated-praise-consumer-2.2.9-SNAPSHOT.jar /app.jar
RUN bash -c 'touch /app.jar'
EXPOSE 8014
ENTRYPOINT ["java", "-jar","/app.jar"]

@ -0,0 +1,5 @@
FROM openjdk:8
ADD /target/integrated-praise-provider-2.2.9-SNAPSHOT.jar /app.jar
RUN bash -c 'touch /app.jar'
EXPOSE 8015
ENTRYPOINT ["java", "-jar","/app.jar"]

@ -0,0 +1,5 @@
FROM openjdk:8
ADD /target/integrated-storage-2.2.9-SNAPSHOT.jar /app.jar
RUN bash -c 'touch /app.jar'
EXPOSE 8011
ENTRYPOINT ["java", "-jar","/app.jar"]
Loading…
Cancel
Save