Skip to content

Commit fb2dc58

Browse files
committed
fix: 도커 엔트리 포인트 제거 및 테스크 커멘드 수정
1 parent 68b189c commit fb2dc58

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
FROM eclipse-temurin:21
22
ARG JAR_FILE=build/libs/time-eat-0.0.1-SNAPSHOT.jar
33
COPY ${JAR_FILE} api.jar
4-
ENTRYPOINT ["java", "-jar", "/api.jar"]

terraform/dev/ecs/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ locals {
8484
essential = true
8585
stopTimeout = lookup(def, "stop_timeout", var.default_stop_timeout)
8686

87-
command = svc == "api-dev" ? [
87+
command = def.task_definition_name == "api-dev" ? [
8888
"java",
8989
"-Dspring.profiles.active=dev",
9090
"-jar",

0 commit comments

Comments
 (0)