-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
142vip.cn
committed
Nov 7, 2023
1 parent
0c42bec
commit dccfbcf
Showing
4 changed files
with
57 additions
and
31 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -21,10 +21,24 @@ RUN if [ "$CONTAINER_BUILD" = "true" ]; then \ | |
|
||
FROM registry.cn-hangzhou.aliyuncs.com/142vip/nginx:1.23.0-alpine | ||
|
||
ARG APP_NAME | ||
ARG APP_VERSION | ||
LABEL version=$APP_VERSION description="408CSFamily合集" | ||
LABEL author="【Github&公众号】:Rong姐姐好可爱" email="[email protected]" | ||
ARG AUTHOR | ||
ARG EMAIL | ||
ARG DESCRIPTION | ||
ARG GIT_HASH | ||
ARG GIT_MESSAGE | ||
ARG HOME_PAGE | ||
|
||
# 作者信息 | ||
LABEL "author.name"="$AUTHOR" "author.email"="$EMAIL" | ||
|
||
# 项目信息 | ||
LABEL "repo.name"=$APP_NAME "repo.version"=$APP_VERSION \ | ||
"repo.homePage"="$HOME_PAGE" "repo.description"="$DESCRIPTION" | ||
|
||
# Git信息 | ||
LABEL "git.hash"="$GIT_HASH" "git.message"="$GIT_MESSAGE" | ||
# 将dist文件中的内容复制到 /usr/share/nginx/html/ 这个目录下面 注意:--from参数 | ||
COPY --from=build_base /apps/docs/.vuepress/dist/ /usr/share/nginx/html/ | ||
COPY nginx.conf /etc/nginx/ |
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"name": "微信公众号:储凡", | ||
"email": "[email protected]", | ||
"url": "https://github.com/142vip", | ||
"homePage": "https://www.142vip.cn" | ||
"homePage": "https://408.142vip.cn" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
|
@@ -18,7 +18,7 @@ | |
"postinstall": "pnpm build:mark-map", | ||
"prepare": "husky install", | ||
"dev": "vuepress dev docs", | ||
"build": "./scripts/bundle build", | ||
"build": "vuepress build docs", | ||
"build:proxy": "./scripts/bundle build_proxy", | ||
"build:mark-map": "./scripts/mark-map", | ||
"deploy:vercel": "vercel --prod", | ||
|
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