traefik/docs/docs.Dockerfile

13 lines
283 B
Text
Raw Permalink Normal View History

FROM alpine:3.20
2017-10-11 12:46:03 +00:00
ENV PATH="${PATH}:/venv/bin"
2017-10-11 12:46:03 +00:00
COPY requirements.txt /mkdocs/
WORKDIR /mkdocs
VOLUME /mkdocs
2017-10-11 12:46:03 +00:00
2021-01-13 10:54:04 +00:00
RUN apk --no-cache --no-progress add py3-pip gcc musl-dev python3-dev \
&& python3 -m venv /venv \
&& source /venv/bin/activate \
&& pip3 install -r requirements.txt