site/Dockerfile
gugulethu 056434de91 Update Dockerfile
Change the local address

Signed-off-by: gugulethu <gugulethu@noreply.codeberg.org>
2025-06-20 16:10:29 +02:00

20 lines
471 B
Docker

# 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 80
# Command to run MkDocs
CMD ["mkdocs", "serve", "--addr=0.0.0.0"]