From 98ef4f0efd04816fb93a19920be62fbb621d22f0 Mon Sep 17 00:00:00 2001 From: g* Date: Wed, 18 Jun 2025 16:58:58 +0200 Subject: [PATCH] . --- Dockerfile | 20 ++++++++++++++++++++ docs/index.md | 2 +- docs/resume.md | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..105fa93 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +# Use the official Python image as a base +FROM python:3.11-slim + +# Set the working directory in the container +WORKDIR /app + +# Copy the requirements file if you have one +COPY requirements.txt . + +# Install MkDocs and any other dependencies +RUN pip install --no-cache-dir -r requirements.txt + +# Copy the entire MkDocs project into the container +COPY . . + +# Expose the port that MkDocs will run on +EXPOSE 8000 + +# Command to run MkDocs +CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:8000"] diff --git a/docs/index.md b/docs/index.md index b4d5960..da61b5c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,5 @@ --- -title: Gugulethu Hlekwayo +title: i'm a writer description: "i'm a writer..." hide: - toc diff --git a/docs/resume.md b/docs/resume.md index 0560b8e..bfd111f 100644 --- a/docs/resume.md +++ b/docs/resume.md @@ -1,5 +1,5 @@ --- -title: Gugulethu Hlekwayo | Resumé +title: Resumé description: "i'm a pen for hire..." hide: - toc