update
parent
5c92034f94
commit
f673f736ff
|
@ -3,8 +3,8 @@
|
|||
FROM openjdk:8-jdk-alpine
|
||||
WORKDIR /data
|
||||
|
||||
COPY ./target/*.jar /data/app.jar # 复制jar到镜像
|
||||
EXPOSE 8080 # 声明端口
|
||||
COPY ./target/*.jar /data/app.jar
|
||||
EXPOSE 8080
|
||||
ENV JAVA_OPTS=""
|
||||
ENTRYPOINT ["java", "-jar", "/data/app.jar"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue