-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update dependency nginx to v1-alpine
- Loading branch information
1 parent
7ec4c60
commit a450871
Showing
24 changed files
with
27 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|