This commit is contained in:
jukov_mn 2024-01-24 19:10:15 +05:00
parent 139a61c157
commit 0f194197e7
1 changed files with 3 additions and 3 deletions

View File

@ -26,13 +26,13 @@ RUN apk add --update \
libffi-dev cairo-dev cairo cairo-tools \
jpeg-dev zlib-dev freetype-dev lcms2-dev openjpeg-dev tiff-dev tk-dev tcl-dev
RUN python -m venv /src/env
RUN python -m venv /mkdocs/env
# Enable venv
ENV PATH="/src/env/bin:$PATH"
ENV PATH="/mkdocs/env/bin:$PATH"
RUN \
pip install --upgrade pip && \
pip install --ignore-installed -r /src/requirements.txt && \
pip install --ignore-installed -r /mkdocs/requirements.txt && \
cd /bootstrap && pip install -e /bootstrap && \
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* && \
chmod 600 /root/.ssh/config