Warning, /frameworks/kapidox/Dockerfile is written in an unsupported language. File is not indexed.
0001 FROM debian:bullseye-slim
0002
0003 ARG DEBIAN_FRONTEND=noninteractive
0004 RUN apt-get update \
0005 && apt-get install --no-install-recommends -y doxygen graphviz python3-pip python3-gv \
0006 && apt-get autoremove -y && apt-get clean
0007
0008 RUN useradd --create-home --shell /bin/bash kapidox
0009
0010 USER kapidox
0011 ENV KAPIDOX_HOME=/home/kapidox
0012 ENV BUILD_DIR=${KAPIDOX_HOME}/apidox-build
0013 ENV PATH=${KAPIDOX_HOME}/.local/bin:${PATH}
0014
0015 WORKDIR ${KAPIDOX_HOME}
0016
0017 RUN pip3 install --upgrade pip
0018
0019 COPY --chown=kapidox:kapidox requirements.frozen.txt .
0020 RUN pip3 install --no-cache-dir -r requirements.frozen.txt
0021
0022 COPY --chown=kapidox:kapidox . .
0023 RUN pip3 install --no-cache-dir --no-deps --editable .
0024
0025 RUN mkdir ${BUILD_DIR}
0026 WORKDIR ${BUILD_DIR}