Skip to content

Commit

Permalink
SB-38 (Feat) : Add Image DockerFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyuung committed Aug 30, 2024
1 parent 4033155 commit 0877fe1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 28 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
cd ./users/src/main/resources
echo "${{ secrets.USER_APPLICATION }}" > application.yml
- name: Make Image application.yml
run: |
cd ./image/src/main/resources
echo "${{ secrets.IMAGE_APPLICATION }}" > application.yml
- name: Make Warehouse application.yml
run: |
cd ./warehouse/src/main/resources
Expand Down
3 changes: 3 additions & 0 deletions image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM openjdk:17-jdk-slim
ADD /image/build/libs/*.jar image.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/image.jar"]
28 changes: 0 additions & 28 deletions image/src/main/resources/application.yaml

This file was deleted.

1 change: 1 addition & 0 deletions image/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
temp

0 comments on commit 0877fe1

Please sign in to comment.