Skip to content

Commit

Permalink
[chore] Dockerfile, docker-compose 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
syyling committed Feb 15, 2024
1 parent a50fcf7 commit b15ea7b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM openjdk:17
ARG JAR_FILE=/build/libs/mookive_backend-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} mookive.jar
ENTRYPOINT ["java","-jar","/mookive.jar", "--spring.profiles.active=prod"]
9 changes: 9 additions & 0 deletions .deploy/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3'
services:
spring:
container_name: mookive
image: kimseoyoung/mookive
expose:
- 8080
ports:
- 80:8080

0 comments on commit b15ea7b

Please sign in to comment.