Skip to content

Commit

Permalink
feat: Dockerfile 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yujamint committed Jun 27, 2024
1 parent 84fe8b9 commit 0236cee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
name: deploy

on:
# pull_request:
# branches: [dev]
# types: [closed]
push:
branches: [refactor/cd-flow]

jobs:
deploy:

runs-on: ubuntu-latest
# if: github.event.pull_request.merged

steps:
- name: 체크아웃
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM amazoncorretto:11-alpine-jdk
EXPOSE 8080
COPY ./build/libs/Qtudy-server-0.0.1-SNAPSHOT.jar /app.jar
CMD ["java", "-jar", "app.jar", "--spring.profiles.active=stage"]

0 comments on commit 0236cee

Please sign in to comment.