This commit is contained in:
2024-08-21 11:27:40 +08:00
parent e25627cda9
commit 4d46933b54
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ type: docker
name: SmartOpsWeb name: SmartOpsWeb
steps: steps:
- name: build-package - name: build-package
image: node:16.20.0 image: registry.cn-chengdu.aliyuncs.com/claywang/node:16.20.0
volumes: volumes:
- name: cache - name: cache
path: /drone/src/node_modules path: /drone/src/node_modules
@@ -30,7 +30,7 @@ steps:
- name: build-docker # 制作docker镜像 - name: build-docker # 制作docker镜像
image: docker # 使用官方docker镜像 image: registry.cn-chengdu.aliyuncs.com/claywang/docker # 使用官方docker镜像
volumes: # 将容器内目录挂载到宿主机 volumes: # 将容器内目录挂载到宿主机
- name: docker - name: docker
path: /var/run/docker.sock # 挂载宿主机的docker path: /var/run/docker.sock # 挂载宿主机的docker

View File

@@ -1,4 +1,4 @@
FROM nginx FROM registry.cn-chengdu.aliyuncs.com/claywang/nginx
RUN rm -rf /etc/nginx/conf.d/default.conf RUN rm -rf /etc/nginx/conf.d/default.conf
RUN rm -rf /etc/nginx/nginx.conf RUN rm -rf /etc/nginx/nginx.conf