diff --git a/pom.xml b/pom.xml index 3c3b48c..f28bdf0 100644 --- a/pom.xml +++ b/pom.xml @@ -9,6 +9,7 @@ 4.0.0 cloud-gateway + 1.0.0 cloud-gateway网关模块 diff --git a/src/main/resources/DockerFile b/src/main/resources/DockerFile new file mode 100644 index 0000000..cb111bc --- /dev/null +++ b/src/main/resources/DockerFile @@ -0,0 +1,7 @@ +FROM openjdk:17-jre-slim + +WORKDIR /home/images/deploy/gateway + +COPY cloud-gateway.jar /home/images/deploy/gateway + +ENTRYPOINT ["java","-jar","/home/images/deploy/gateway/cloud-gateway.jar"]