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