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"]