0install / docs

Zero Install documentation web-site
https://docs.0install.net
Creative Commons Attribution Share Alike 4.0 International
59 stars 8 forks source link

Add Dockerfile so everyone can get the same results #3

Closed talex5 closed 5 years ago

talex5 commented 5 years ago

e.g. formatting of the code blocks in /faq/ doesn't work correctly with Debian's version of mkdocs.

bastianeicher commented 5 years ago

How about the following Dockerfile instead:

FROM python:3.7-slim
COPY requirements.txt .
RUN pip install -r requirements.txt
WORKDIR /app
ENV LC_ALL=C.UTF-8 LANG=C.UTF-8
ENTRYPOINT ["mkdocs"]

This would ensure that Mkdocs version in Docker stays in sync with the one used in Travis CI.

talex5 commented 5 years ago

OK - updated!