Skip to content

Commit 9bc376d

Browse files
authored
Merge pull request #347 from Codiary-UMC-6th/deploy/#340-apply-cicd-3
feat: 수정해보기
2 parents c3b3d1f + 9113545 commit 9bc376d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@ jobs:
7474
key: ${{ secrets.SSH_PRIVATE_KEY }}
7575
port: 22
7676
script: |
77-
chmod +x /home/ubuntu/deploy.sh
77+
sudo chmod +x /home/ubuntu/deploy.sh
7878
sudo /home/ubuntu/deploy.sh
7979

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM openjdk:17-alpine
22
ARG JAR_FILE=./build/libs/backend-0.0.1-SNAPSHOT.jar
33
COPY ${JAR_FILE} app.jar
4-
ENTRYPOINT ["sh", "-c", "java -Duser.timezone=Asia/Seoul -jar /app.jar"]
4+
ENTRYPOINT exec java -Duser.timezone=Asia/Seoul -jar /app.jar

0 commit comments

Comments
 (0)