Skip to content

Commit 5c74266

Browse files
committed
update build/reqs
1 parent 6aaa41f commit 5c74266

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ python3 -m venv env
1414
source env/bin/activate
1515
pip install --upgrade pip
1616
pip install --upgrade setuptools wheel
17-
pip install mkdocs mkdocs-material pymdown-extensions
17+
pip install -r requirements.txt
1818
mkdocs serve
1919
```
2020

dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
FROM python:3.9-alpine
1+
FROM python:3.10-alpine
2+
3+
COPY requirements.txt /tmp/requirements.txt
24

35
RUN pip install --upgrade pip && \
46
pip install --upgrade setuptools wheel && \
5-
pip install mkdocs mkdocs-material pymdown-extensions
7+
pip install -r /tmp/requirements.txt
68

79
EXPOSE 8005
810

startdevmkdocsonwindows.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ python -m venv env
1111

1212
# Install requirements first time only
1313
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
1516

1617
# Run mkdocs and look at changes as you make them
1718
Start-Process http://localhost:8005 #Opens Browser

0 commit comments

Comments
 (0)