From 2fdb72b9dfa633532c0b859a49d86f375b1b2bb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E7=89=A7=E4=B9=8B?= Date: Fri, 18 Sep 2020 12:51:37 +0000 Subject: [PATCH] test --- dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dockerfile b/dockerfile index e7d85c7..48fefae 100644 --- a/dockerfile +++ b/dockerfile @@ -1,4 +1,7 @@ -FROM openjdk:8-jdk -VOLUME /tmp -COPY target/*.jar app.jar -ENTRYPOINT ["java","-jar","/app.jar"] \ No newline at end of file +FROM openjdk:8 + +# 指定当前操作目录 +WORKDIR /_data/workspace/ASE/ + +#容器启动后执行的操作 +CMD java -jar ASE-docker.jar \ No newline at end of file