From d76f1709a5cc2d54a46cc05c95d2f4e30c50af83 Mon Sep 17 00:00:00 2001 From: vran Date: Mon, 21 Feb 2022 19:53:09 +0800 Subject: [PATCH] feat:update dockerfile (#20) --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1e736d6..8d494ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,8 @@ ADD . /app RUN gradle api:build FROM openjdk:11.0.13-jre -ARG service_name_folder WORKDIR /app -ADD databasir.jar /app +COPY --from=build /app/api/build/libs/databasir.jar /app/databasir.jar EXPOSE 8080 #-Ddatabasir.datasource.username=${databasir.datasource.username}