|
@@ -1,6 +1,6 @@
|
|
|
#FROM openjdk:8-jdk-alpine 文件下载会出现空指针错误
|
|
|
FROM java:8
|
|
|
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone
|
|
|
-COPY ./target/persagy-syncData.jar persagy-syncData.jar
|
|
|
-ENTRYPOINT ["java", "-jar", "/persagy-syncData.jar"]
|
|
|
+COPY ./target/persagy-sync-data.jar persagy-sync-data.jar
|
|
|
+ENTRYPOINT ["java", "-jar", "/persagy-sync-data.jar"]
|
|
|
EXPOSE 9980
|