# Nginx 기반 프로토타입 배포 이미지
FROM nginx:1.25-alpine

# 메타데이터
LABEL maintainer="KT Event Marketing Team"
LABEL description="UI/UX Prototype for KT Event Marketing Service"

# 프로토타입 HTML 파일들을 nginx의 웹 루트로 복사
COPY design/uiux/prototype/* /usr/share/nginx/html/

# nginx 설정 파일 복사 (커스텀 설정이 필요한 경우)
COPY deployment/uiux/nginx.conf /etc/nginx/conf.d/default.conf

# 헬스체크 엔드포인트 추가
RUN echo '<!DOCTYPE html><html><body>OK</body></html>' > /usr/share/nginx/html/health

# 포트 노출
EXPOSE 80

# nginx 실행
CMD ["nginx", "-g", "daemon off;"]
