From 3d1709886d57aa5fd9898c5dd9e661ad207b6fe1 Mon Sep 17 00:00:00 2001 From: gugulethu Date: Fri, 20 Jun 2025 19:03:57 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3792437..37fed47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,12 @@ RUN pip install --no-cache-dir -r requirements.txt # Copy the entire MkDocs project into the container COPY . . + +# Build the MkDocs project RUN mkdocs build # Expose the port that MkDocs will run on -EXPOSE 3000 \ No newline at end of file +EXPOSE 3000 + +# Command to run the MkDocs server on port 3000 +CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:3000"]