mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
solved last sphinx bugs
This commit is contained in:
@@ -12,18 +12,22 @@ ENV SPHINX_SOURCE_DIR=${SPHINX_SOURCE_DIR}
|
||||
ENV SPHINX_OUTPUT_DIR=${SPHINX_OUTPUT_DIR}
|
||||
ENV SPHINX_REQUIREMENTS_DIR=${SPHINX_EXEC_DIR}/requirements
|
||||
|
||||
# Build the requirement files
|
||||
RUN cd ${SPHINX_EXEC_DIR} && make requirements
|
||||
|
||||
# Install required packages
|
||||
RUN apt-get update && xargs -a ${SPHINX_REQUIREMENTS_DIR}/apt.txt apt install -y
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR ${SPHINX_DOCKER_EXEC_DIR}
|
||||
|
||||
# Update and install make
|
||||
RUN apt-get update && apt install -y make
|
||||
|
||||
# Copy the project files into the container
|
||||
COPY ${SPHINX_SOURCE_DIR_RELATIVE} ${SPHINX_DOCKER_EXEC_DIR}
|
||||
|
||||
# Build the requirement files
|
||||
RUN cd ${SPHINX_EXEC_DIR} && make extract-requirements
|
||||
|
||||
# Install required packages
|
||||
RUN xargs -a ${SPHINX_REQUIREMENTS_DIR}/apt.txt apt install -y
|
||||
|
||||
# Install Python packages via requirements.txt
|
||||
RUN pip install --upgrade pip && pip install -r ${SPHINX_REQUIREMENTS_DIR}/pip.txt
|
||||
|
||||
|
Reference in New Issue
Block a user