FROM nginx:alpine

# 拷贝自定义 nginx 配置
COPY nginx.conf /etc/nginx/conf.d/default.conf

# 拷贝静态站点和资源
COPY site/ /usr/share/nginx/html/site/
COPY frameworks/ /usr/share/nginx/html/frameworks/
COPY .design_library/ /usr/share/nginx/html/.design_library/
COPY tests/ /usr/share/nginx/html/tests/

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]
