File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ python3 -m venv env
14
14
source env/bin/activate
15
15
pip install --upgrade pip
16
16
pip install --upgrade setuptools wheel
17
- pip install mkdocs mkdocs-material pymdown-extensions
17
+ pip install -r requirements.txt
18
18
mkdocs serve
19
19
```
20
20
Original file line number Diff line number Diff line change 1
- FROM python:3.9-alpine
1
+ FROM python:3.10-alpine
2
+
3
+ COPY requirements.txt /tmp/requirements.txt
2
4
3
5
RUN pip install --upgrade pip && \
4
6
pip install --upgrade setuptools wheel && \
5
- pip install mkdocs mkdocs-material pymdown-extensions
7
+ pip install -r /tmp/requirements.txt
6
8
7
9
EXPOSE 8005
8
10
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ python -m venv env
11
11
12
12
# Install requirements first time only
13
13
python - m pip install -- upgrade pip # only 1st time
14
- pip install -- upgrade mkdocs mkdocs- material pymdown- extensions
14
+ pip install -- upgrade setuptools wheel
15
+ pip install - r requirements.txt
15
16
16
17
# Run mkdocs and look at changes as you make them
17
18
Start-Process http:// localhost:8005 # Opens Browser
You can’t perform that action at this time.
0 commit comments