Skip to content

Commit a12c668

Browse files
committed
refactor: 도커 이미지 버전 수정
1 parent 0067448 commit a12c668

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:17-jre-jammy
1+
FROM eclipse-temurin:17-jre-alpine
22
ARG JAR_FILE=build/libs/inchelin-0.0.1-SNAPSHOT.jar
33
COPY ${JAR_FILE} app.jar
44
ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul", "-jar", "/app.jar"]

docker-compose.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
nginx:
3-
image: nginx:latest
3+
image: nginx:1.28-alpine
44
container_name: nginx
55
ports:
66
- "80:80"
@@ -22,8 +22,10 @@ services:
2222
- ./nginx/www:/var/www/certbot
2323

2424
mariadb:
25-
image: mariadb:latest
25+
image: mariadb:11.8
2626
container_name: mariadb
27+
ports:
28+
- "127.0.0.1:3306:3306"
2729
environment:
2830
- TZ=Asia/Seoul
2931
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD}

0 commit comments

Comments
 (0)