初始化
parent
fd3f4932df
commit
a80dec9e62
|
@ -1,7 +1,12 @@
|
||||||
FROM openjdk:17-jre-slim
|
# |- home
|
||||||
|
# |- app.jar
|
||||||
|
# |- logs
|
||||||
|
FROM openjdk:17-jdk
|
||||||
|
|
||||||
WORKDIR /home/images/deploy/gateway
|
WORKDIR /home
|
||||||
|
|
||||||
COPY cloud-gateway.jar /home/images/deploy/gateway
|
VOLUME ["/home/logs/cloud-gateway"]
|
||||||
|
|
||||||
ENTRYPOINT ["java","-jar","/home/images/deploy/gateway/cloud-gateway.jar"]
|
COPY cloud-gateway.jar /home/app.jar
|
||||||
|
|
||||||
|
ENTRYPOINT ["java","-jar","/home/app.jar"]
|
||||||
|
|
Loading…
Reference in New Issue