.
This commit is contained in:
parent
22b6ac0108
commit
98ef4f0efd
3 changed files with 22 additions and 2 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
|
@ -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"]
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Gugulethu Hlekwayo
|
title: i'm a writer
|
||||||
description: "i'm a writer..."
|
description: "i'm a writer..."
|
||||||
hide:
|
hide:
|
||||||
- toc
|
- toc
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Gugulethu Hlekwayo | Resumé
|
title: Resumé
|
||||||
description: "i'm a pen for hire..."
|
description: "i'm a pen for hire..."
|
||||||
hide:
|
hide:
|
||||||
- toc
|
- toc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue