mirror of
https://github.com/wisemapping/wisemapping-open-source.git
synced 2025-04-04 19:34:30 +08:00
Improve docker image.
This commit is contained in:
parent
b9bd733e5e
commit
00935dbb93
@ -1,5 +1,7 @@
|
||||
FROM amazoncorretto:17.0.10
|
||||
LABEL maintainer="Paulo Gustavo Veiga <pveiga@wisemapping.com>"
|
||||
|
||||
VOLUME /tmp
|
||||
COPY target/wisemapping-api.jar app.jar
|
||||
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /app.jar ${0} ${@}"]
|
||||
COPY target/wisemapping-api.jar wisemapping-api.jar
|
||||
|
||||
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /wisemapping-api.jar ${0} ${@}"]
|
@ -1,4 +1,8 @@
|
||||
# SpringBoot Configuration ...
|
||||
server:
|
||||
tomcat:
|
||||
remote-ip-header: x-forwarded-for
|
||||
protocol-header: x-forwarded-proto
|
||||
|
||||
spring:
|
||||
mail:
|
||||
|
Loading…
x
Reference in New Issue
Block a user