From 3710c6875a3b36acf26ec60dfac15651828f4f94 Mon Sep 17 00:00:00 2001 From: BcKmini Date: Wed, 22 Jul 2026 15:27:32 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EC=9E=84=EC=8B=9C=20=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC=EC=9A=A9=20Dockerfile=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 심사 데모 배포(k3s on Oracle Cloud)를 위한 임시 Dockerfile입니다. 정식 CI/CD·배포 파이프라인이 정해지면 교체될 예정입니다. --- Dockerfile | 12 ++++++++++++ nginx.conf | 9 +++++++++ 2 files changed, 21 insertions(+) create mode 100644 Dockerfile create mode 100644 nginx.conf diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..601cf0d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +# TEMP: 심사용 임시 배포 Dockerfile — 정식 CI/CD·배포 파이프라인 확정 전까지 사용 +FROM node:20-alpine AS build +WORKDIR /app +COPY package*.json ./ +RUN npm ci +COPY . . +RUN npm run build + +FROM nginx:1.27-alpine +COPY --from=build /app/dist /usr/share/nginx/html +COPY nginx.conf /etc/nginx/conf.d/default.conf +EXPOSE 80 diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..8e4de86 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,9 @@ +# TEMP: 심사용 임시 배포 설정 — 정식 CI/CD·배포 파이프라인 확정 전까지 사용 +server { + listen 80; + root /usr/share/nginx/html; + + location / { + try_files $uri $uri/ /index.html; + } +}