diff options
author | Adrian OSullivan <adrian.osullivan@huawei.com> | 2020-01-13 09:54:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-01-13 09:54:59 +0000 |
commit | 74474544e4e3013c582ca5579a0088c40dacc0e5 (patch) | |
tree | b80267e923d525817e80d3000da8fe0e069288dc /Dockerfile | |
parent | ca7fa9dce1d37491e648531998c1577446eff23b (diff) | |
parent | 55b339f77d4944b17a4eeefb8ade6ff5f05a422d (diff) |
Merge "Add support for HTTPS with self signed certificates"
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -36,8 +36,10 @@ RUN for cert in $(ls -d /certs/*); do \ USER appuser:appgroup -ENV SERVER_PORT=${SERVER_PORT:-8080} -ENV JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom" +ENV SERVER_PORT=${SERVER_PORT:-8443} +ENV HTTP_PORT=${HTTP_PORT:-8080} +ENV JAVA_OPTS="-Dspring.profiles.active=ssl -Djava.security.egd=file:/dev/./urandom" EXPOSE $SERVER_PORT +EXPOSE $HTTP_PORT ENTRYPOINT java -XX:+UseContainerSupport $JAVA_OPTS -jar /app.jar |