Dockerfile_prod端口和健康检查修改
This commit is contained in:
parent
5218675a1a
commit
8716ceb232
@ -9,6 +9,6 @@ RUN apk update && apk add --no-cache tzdata curl\
|
||||
COPY ./server/target/crm-print-server-1.0.0.jar /
|
||||
RUN mkdir /templates
|
||||
WORKDIR /
|
||||
HEALTHCHECK --interval=5s --timeout=3s CMD curl -fs http://localhost:9089/crm-print/actuator/health || exit 1
|
||||
EXPOSE 9089
|
||||
HEALTHCHECK --interval=60s --timeout=3s CMD curl -fs http://localhost:8080/crm-print/actuator/health || exit 1
|
||||
EXPOSE 8080
|
||||
CMD ["java","-Xms1000m","-Xmx1000m","-jar","crm-print-server-1.0.0.jar"]
|
Loading…
x
Reference in New Issue
Block a user