This commit is contained in:
周牧之 2020-09-18 12:51:37 +00:00
parent fed98c0dad
commit 2fdb72b9df

View File

@ -1,4 +1,7 @@
FROM openjdk:8-jdk
VOLUME /tmp
COPY target/*.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
FROM openjdk:8
# 指定当前操作目录
WORKDIR /_data/workspace/ASE/
#容器启动后执行的操作
CMD java -jar ASE-docker.jar