Skip to content
Snippets Groups Projects
Commit b1b9a30d authored by Jan Frenzel's avatar Jan Frenzel
Browse files

Removed copying of directories to container in Dockerfile. Removed

requirements.txt. Removed a code snippet using requirements.txt from README.md.
parent f5b7f51c
No related branches found
No related tags found
3 merge requests!392Merge preview into contrib guide for browser users,!387Merge preview into main,!382Removed copying of directories to container in Dockerfile.
......@@ -4,9 +4,7 @@ FROM python:3.8-bullseye
# Base #
########
COPY ./ /src/
RUN pip install -r /src/doc.zih.tu-dresden.de/requirements.txt
RUN pip install mkdocs>=1.1.2 mkdocs-material>=7.1.0
##########
# Linter #
......@@ -16,6 +14,6 @@ RUN apt update && apt install -y nodejs npm aspell
RUN npm install -g markdownlint-cli markdown-link-check
WORKDIR /src/doc.zih.tu-dresden.de
WORKDIR /docs
CMD ["mkdocs", "build", "--verbose", "--strict"]
......@@ -40,13 +40,7 @@ Now, create a local clone of your fork
#### Install Dependencies
**TODO:** Description
```Shell Session
~ cd hpc-compendium/doc.zih.tu-dresden.de
~ pip install -r requirements.txt
```
See [Installation with Docker](#preview-using-mkdocs-with-dockerfile).
**TODO:** virtual environment
**TODO:** What we need for markdownlinter and checks?
......
# Documentation static site generator & deployment tool
mkdocs>=1.1.2
# Add custom theme if not inside a theme_dir
# (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
mkdocs-material>=7.1.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment