From ad8a33fb37a725f3012a83ad8c8aa85d8a1cd5ca Mon Sep 17 00:00:00 2001 From: gugulethu Date: Sun, 22 Jun 2025 17:23:50 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index e476958..4271ff4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1 @@ -FROM python:3.11-slim AS builder - -WORKDIR /app - -COPY requirements.txt . - -RUN pip install --no-cache-dir -r requirements.txt - -COPY . . - -RUN mkdocs build - -EXPOSE 8000 - -CMD ["mkdocs", "serve", "--port", "80"] +FROM python:3.11-slim AS builder WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir --upgrade -r requirements.txt COPY . . RUN mkdocs build EXPOSE 80 CMD ["mkdocs", "serve", "--host", "0.0.0.0", "--port", "80"] \ No newline at end of file