From b181b6e7c977109b201ccb6a5f516929c8be9e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EB=AF=BC?= <144198706+Minn-Choi@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:18:26 +0900 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 36dff17..39543a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ RUN npm install COPY . . RUN npm run build +# nginx 설정 FROM nginx:alpine -COPY —from=build-stage /app/dist /usr/share/nginx/html +COPY --from=build-stage /app/dist /usr/share/nginx/html # 여기서 하이픈을 사용 EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]