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