diff --git a/Dockerfile b/Dockerfile index dab977c..308f708 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,5 +17,5 @@ ENV JAVA_OPTS="-Xmx1g -XX:+UseG1GC -XX:InitiatingHeapOccupancyPercent=70 -Djava. WORKDIR $APP_DIR COPY --from=build $APP_DIR/build/libs/service-jobs-*exec.jar . VOLUME ["/tmp"] -EXPOSE 8080 +EXPOSE 8686 ENTRYPOINT exec java ${JAVA_OPTS} -jar ${APP_DIR}/service-jobs-*exec.jar diff --git a/build.gradle b/build.gradle index 6368c92..adf195b 100644 --- a/build.gradle +++ b/build.gradle @@ -63,10 +63,6 @@ dependencies { // https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 implementation 'org.apache.commons:commons-lang3:3.12.0' - implementation 'org.apache.tomcat.embed:tomcat-embed-core:9.0.96' - implementation 'org.apache.tomcat.embed:tomcat-embed-el:9.0.96' - implementation 'org.apache.tomcat.embed:tomcat-embed-websocket:9.0.96' - implementation 'ch.qos.logback:logback-classic' implementation 'ch.qos.logback:logback-core' implementation 'org.springframework:spring-webmvc'