mirror of
https://github.com/hwanny1128/HGZero.git
synced 2025-12-06 09:06:24 +00:00
26 lines
665 B
Docker
26 lines
665 B
Docker
# HGZero UI/UX Prototype Deployment
|
|
# Nginx 기반 정적 파일 서빙
|
|
|
|
FROM nginx:1.25-alpine
|
|
|
|
# 메타데이터
|
|
LABEL maintainer="HGZero Team"
|
|
LABEL description="HGZero UI/UX Prototype"
|
|
LABEL version="1.0.0"
|
|
|
|
# 프로토타입 HTML 파일 복사
|
|
COPY design/uiux/prototype/* /usr/share/nginx/html/
|
|
|
|
# nginx 설정 파일 복사 (커스텀 설정이 필요한 경우)
|
|
COPY deployment/uiux/nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
# 포트 노출
|
|
EXPOSE 80
|
|
|
|
# Health check
|
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
CMD wget --quiet --tries=1 --spider http://localhost/ || exit 1
|
|
|
|
# nginx 실행
|
|
CMD ["nginx", "-g", "daemon off;"]
|