We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5205a6b commit a085309Copy full SHA for a085309
2 files changed
Dockerfile
@@ -1,6 +1,5 @@
1
## 注意:vite构建需要支持node14以上,安装node16较为稳妥
2
FROM registry.cn-hangzhou.aliyuncs.com/142vip/node:16.12.0-alpine AS build_base
3
-
4
LABEL version="Beta1.0" description="JavaScriptCollection文档合集、博客"
5
LABEL author="【Github&公众号】:Rong姐姐好可爱" email="fairy@2925.com"
6
RUN mkdir -p /apps
@@ -16,7 +15,7 @@ FROM registry.cn-hangzhou.aliyuncs.com/142vip/nginx:latest
16
15
17
# 将dist文件中的内容复制到 /usr/share/nginx/html/ 这个目录下面 注意:--from参数
18
COPY --from=build_base /apps/docs/.vuepress/dist/ /usr/share/nginx/html/
19
+## 配置文件
20
COPY nginx.conf /etc/nginx/
21
EXPOSE 7100
22
CMD ["nginx", "-g", "daemon off;"]
docs/read-books/sidebar_content.js
@@ -9,7 +9,6 @@
9
10
11
module.exports=[
12
- // SidebarItem
13
{
14
text: 'Foo',
link: '/foo/',
0 commit comments