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;"]