From 3c55c17818d91e646a7b1bd206d8a4bc58be42f6 Mon Sep 17 00:00:00 2001 From: tanghc Date: Tue, 20 Oct 2020 13:56:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dockerfile | 2 ++ sop-gateway/pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index f943dc5b..b1ad1423 100644 --- a/dockerfile +++ b/dockerfile @@ -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"] diff --git a/sop-gateway/pom.xml b/sop-gateway/pom.xml index fe268d08..8fa2a919 100644 --- a/sop-gateway/pom.xml +++ b/sop-gateway/pom.xml @@ -95,14 +95,13 @@ true - + src/main/docker @@ -113,6 +112,7 @@ + -->