Skip to content

Commit f46b04a

Browse files
committed
컨테이너 유지 코드 추가
1 parent 327500c commit f46b04a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ RUN npm run build
99
# 빌드된 정적 파일을 호스트 서버의 `/var/www/html`로 복사
1010
FROM alpine:latest
1111
WORKDIR /app
12-
COPY --from=build /app/dist /var/www/html
12+
COPY --from=build /app/dist /var/www/html
13+
14+
# 🚀 컨테이너를 계속 유지하도록 추가
15+
CMD ["tail", "-f", "/dev/null"]

0 commit comments

Comments
 (0)