Skip to content

Commit

Permalink
chore: update dependency nginx to v1-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jun 11, 2022
1 parent 7ec4c60 commit a450871
Show file tree
Hide file tree
Showing 24 changed files with 27 additions and 53 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
10 changes: 2 additions & 8 deletions angular.cn/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
ENV APPDIR /usr/share/nginx/html
RUN mkdir -p $APPDIR

WORKDIR $APPDIR

ADD ./code $APPDIR

COPY web.conf /etc/nginx/conf.d
RUN cat /etc/nginx/conf.d/web.conf

EXPOSE 60016
4 changes: 2 additions & 2 deletions angular.cn/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
angular.cn
---

> Port: `60016` - [ant-design](https://angular.cn/) - [Github](https://github.com/ant-design/ant-design)
> [ant-design](https://angular.cn/) - [Github](https://github.com/ant-design/ant-design)
```shell
docker pull wcjiang/angular.cn:latest
Expand All @@ -10,5 +10,5 @@ docker pull wcjiang/angular.cn:latest
Run Server

```shell
docker run --name angular.cn -p 60016:60016 --restart=always -d wcjiang/angular.cn:latest
docker run --name angular.cn -p 60016:80 --restart=always -d wcjiang/angular.cn:latest
```
7 changes: 0 additions & 7 deletions angular.cn/web.conf

This file was deleted.

10 changes: 2 additions & 8 deletions ant.design/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
ENV APPDIR /usr/share/nginx/html
RUN mkdir -p $APPDIR

WORKDIR $APPDIR

ADD ./code $APPDIR

COPY web.conf /etc/nginx/conf.d
RUN cat /etc/nginx/conf.d/web.conf

EXPOSE 60001
4 changes: 2 additions & 2 deletions ant.design/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ant.design
---

> Port: `60001` - [ant-design](https://ant.design/) - [Github](https://github.com/ant-design/ant-design)
> [ant-design](https://ant.design/) - [Github](https://github.com/ant-design/ant-design)
```shell
docker pull wcjiang/ant.design:latest
Expand All @@ -10,5 +10,5 @@ docker pull wcjiang/ant.design:latest
Run Server

```shell
docker run --name ant.design -p 60001:60001 --restart=always -d wcjiang/ant.design:latest
docker run --name ant.design -p 60001:80 --restart=always -d wcjiang/ant.design:latest
```
7 changes: 0 additions & 7 deletions ant.design/web.conf

This file was deleted.

2 changes: 1 addition & 1 deletion cn.eslint.org/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion cn.vuejs.org/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion deno-manual-cn/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ services:
angular.cn:
image: wcjiang/angular.cn:latest
ports:
- 60016:60016
- 60016:80
ant.design:
image: wcjiang/ant.design:latest
ports:
- 60001:60001
- 60001:80
cn.eslint.org:
image: wcjiang/ant.design:latest
ports:
Expand Down
2 changes: 1 addition & 1 deletion element.eleme.io/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion element.react/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion expressjs.com/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion graphql.github.io/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion jestjs.io/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion koajs.com/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion react-native/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion sequelize.org/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion typeorm.github.io/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion typescriptlang.org/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion uiwjs.github.io/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion webpack.js.org/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down
2 changes: 1 addition & 1 deletion zh-hans.reactjs.org/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 构建镜像的基础源镜像
FROM nginx:1.19.6
FROM nginx:1-alpine

ENV APPDIR /usr/share/nginx/web
RUN mkdir -p $APPDIR
Expand Down

0 comments on commit a450871

Please sign in to comment.