jiashun 3 lat temu
rodzic
commit
a998ad4692
2 zmienionych plików z 3 dodań i 1 usunięć
  1. 2 0
      Dockerfile
  2. 1 1
      pom.xml

+ 2 - 0
Dockerfile

@@ -3,4 +3,6 @@ EXPOSE 8080
 ARG JAR_FILE
 ADD target/${JAR_FILE} /file-collect.jar
 ADD target/lib /lib
+ADD src/main/resources/application.yml /application.yml
+ADD src/main/resources/application-docker.yml /application-docker.yml
 ENTRYPOINT ["java", "-jar","-Dspring.profiles.active=docker","/file-collect.jar"]

+ 1 - 1
pom.xml

@@ -15,7 +15,7 @@
         <skipTests>true</skipTests>
         <docker.host>http://192.168.3.101:2375</docker.host>
         <docker.maven.plugin.version>1.2.2</docker.maven.plugin.version>
-        <docker.image.prefix>kekaida</docker.image.prefix>
+        <docker.image.prefix>gaojiashun</docker.image.prefix>
         <druid.version>1.1.10</druid.version>
         <hutool.version>4.5.7</hutool.version>
         <swagger2.version>2.9.2</swagger2.version>