summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-09-29 10:46:25 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-09-29 10:46:34 +0800
commitb1fb873d088f04bcdc3a7ecefe666426077f153d (patch)
treefea5ac290e4b3831e1f3bc5952dd09cf603692b0
parentb09744a7e2038f2db2918a0feca9cf47602ae9ef (diff)
feat: modify dockerfile config and proxyconfig
Change-Id: Ieb371e7d5a126dcf29455cd7a600eec245dcc1f7 Issue-ID: USECASEUI-444 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
-rw-r--r--distribution/src/main/assembly/Dockerfile2
-rw-r--r--usecaseui-portal/proxy.conf.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/distribution/src/main/assembly/Dockerfile b/distribution/src/main/assembly/Dockerfile
index d98460ea..b5761837 100644
--- a/distribution/src/main/assembly/Dockerfile
+++ b/distribution/src/main/assembly/Dockerfile
@@ -12,7 +12,7 @@ RUN apt-get update && \
#configure the JDK
RUN sed -i 's|#networkaddress.cache.ttl=-1|networkaddress.cache.ttl=10|' /usr/lib/jvm/java-11-*/conf/security/java.security
ENV JAVA_HOME /usr/lib/jvm/java-11-*
-ENV PATH $PATH:/usr/lib/jvm/java-11-openjdk-amd64/bin/java
+ENV PATH $PATH:/usr/lib/jvm/java-11-*/bin
ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib
ENV JRE_HOME ${JAVA_HOME}/jre
diff --git a/usecaseui-portal/proxy.conf.json b/usecaseui-portal/proxy.conf.json
index 66b811de..b632eb03 100644
--- a/usecaseui-portal/proxy.conf.json
+++ b/usecaseui-portal/proxy.conf.json
@@ -1,6 +1,6 @@
{
"/api/usecaseui-server/v1": {
- "target": "https://159.138.57.166:30283",
+ "target": "https://192.168.235.11:30283",
"secure": false,
"logLevel": "debug",
"changeOrigin": true