From ec699f26a23bdb4ede3274894f9e3f02614930fc Mon Sep 17 00:00:00 2001 From: wyz Date: Tue, 22 Dec 2020 23:49:28 +0800 Subject: [PATCH] done --- Dockerfile | 4 ---- src/main/docker/Dockerfile | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 Dockerfile create mode 100644 src/main/docker/Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 35aa081..0000000 --- a/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM openjdk:8-jdk-alpine -VOLUME /tmp -ADD spring-boot-docker-1.0.jar app.jar -ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"] \ No newline at end of file diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile new file mode 100644 index 0000000..010d90e --- /dev/null +++ b/src/main/docker/Dockerfile @@ -0,0 +1,4 @@ +FROM openjdk:8-jdk-alpine +VOLUME /tmp +ADD DeliveryTakingSystem-0.0.2-SNAPSHOT.jar app.jar +ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"] \ No newline at end of file