Skip to content

Commit 327500c

Browse files
committed
정적 파일 복사
1 parent 1bdaa4b commit 327500c

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
@@ -6,4 +6,7 @@ RUN npm install
66
COPY . ./
77
RUN npm run build
88

9-
EXPOSE 3000
9+
# 빌드된 정적 파일을 호스트 서버의 `/var/www/html`로 복사
10+
FROM alpine:latest
11+
WORKDIR /app
12+
COPY --from=build /app/dist /var/www/html

0 commit comments

Comments
 (0)