diff --git a/.github/workflows/backend_pr_cd_job.yml b/.github/workflows/backend_pr_cd_job.yml index 4b976c22..257a24a8 100644 --- a/.github/workflows/backend_pr_cd_job.yml +++ b/.github/workflows/backend_pr_cd_job.yml @@ -1,4 +1,4 @@ -name: Java CICD +name: Java CD on: push: branches: [ "main" ] diff --git a/packages/backend/spring/Dockerfile b/packages/backend/spring/Dockerfile index bfe89d2d..bdbd1d9f 100644 --- a/packages/backend/spring/Dockerfile +++ b/packages/backend/spring/Dockerfile @@ -1,4 +1,5 @@ FROM openjdk:17 ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 +COPY citadels-backend-0.0.1-SNAPSHOT.jar /citadels-backend-0.0.1-SNAPSHOT.jar ENTRYPOINT ["java","-jar","citadels-backend-0.0.1-SNAPSHOT.jar"] EXPOSE 8080 \ No newline at end of file