mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-12 07:02:14 +08:00
支持docker
This commit is contained in:
@@ -8,4 +8,6 @@ ADD sop-website/target/*.jar sop/sop-website/sop-website.jar
|
||||
ADD sop-auth/target/*.jar sop/sop-website/sop-auth.jar
|
||||
ADD sop-example/sop-story/target/*.jar sop/sop-story/sop-story.jar
|
||||
|
||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
@@ -95,14 +95,13 @@
|
||||
<skipTests>true</skipTests>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- docker插件 -->
|
||||
<!-- docker插件
|
||||
<plugin>
|
||||
<groupId>com.spotify</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<configuration>
|
||||
<imageName>${project.groupId}/${project.artifactId}</imageName>
|
||||
<!--docker文件所在的目录-->
|
||||
<dockerDirectory>src/main/docker</dockerDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
@@ -113,6 +112,7 @@
|
||||
</resources>
|
||||
</configuration>
|
||||
</plugin>
|
||||
-->
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
Reference in New Issue
Block a user