jesonouyang commited on
Commit
e4af641
·
1 Parent(s): 17424d4

fix Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -2
  2. README.md +1 -0
Dockerfile CHANGED
@@ -2,11 +2,12 @@ FROM python:3.9.0-alpine
2
 
3
  RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip
4
  RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple mkdocs-material==9.0.13
 
 
5
 
6
  WORKDIR /app
7
 
8
- COPY docs /app/build
9
- COPY mkdocs.yml /app/mkdocs.yml
10
 
11
  RUN mkdocs build
12
 
 
2
 
3
  RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip
4
  RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple mkdocs-material==9.0.13
5
+ RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple mkdocs-glightbox==0.3.4
6
+
7
 
8
  WORKDIR /app
9
 
10
+ COPY . .
 
11
 
12
  RUN mkdocs build
13
 
README.md CHANGED
@@ -5,6 +5,7 @@ colorFrom: green
5
  colorTo: yellow
6
  sdk: docker
7
  pinned: false
 
8
  ---
9
 
10
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
5
  colorTo: yellow
6
  sdk: docker
7
  pinned: false
8
+ app_port: 8000
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference