# s2i-nodejs-nginx **Repository Path**: daimaguanligongju/s2i-nodejs-nginx ## Basic Information - **Project Name**: s2i-nodejs-nginx - **Description**: kubesphere 前端npm项目源码构建镜像模板 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2022-03-28 - **Last Updated**: 2022-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### 镜像模板 YAML文件: ``` apiVersion: devops.kubesphere.io/v1alpha1 kind: S2iBuilderTemplate metadata: labels: controller-tools.k8s.io: "1.0" builder-type.kubesphere.io/s2i: "s2i" name: nodejs-nginx spec: containerInfo: - builderImage: 172.16.230.97/senyintdevops/s2i-nodejs-nginx:latest buildVolumes: ["s2i_nodejs_cache:/tmp/artifacts"] codeFramework: nginx # 代码框架类型 defaultBaseImage: 172.16.230.97/senyintdevops/s2i-nodejs-nginx:latest # 默认使用的构建器镜像 version: 0.0.1 # 构建器模版的版本 iconPath: assets/nodejs.png description: "前端源码构建nginx前端项目构建器模板" # 构建器模版的描述信息 environment: - defaultValue: "" description: '自定义nginx.conf文件内容' key: NGINX_CONF required: false type: string - defaultValue: "https://registry.npm.taobao.org" description: npm镜像源 key: NPM_MIRROR required: false type: string ```