From 4cbe2827b62796fba5f3b7aacc43d9bde4ca8924 Mon Sep 17 00:00:00 2001 From: Luc Date: Sun, 20 Jul 2025 18:29:09 +0200 Subject: [PATCH] monolang/mkdocs-git.containerfile: update Changed back to nginx:alpine while retaining the py venv. --- monolang/mkdocs-git.containerfile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/monolang/mkdocs-git.containerfile b/monolang/mkdocs-git.containerfile index 2cd5c7b..342723d 100644 --- a/monolang/mkdocs-git.containerfile +++ b/monolang/mkdocs-git.containerfile @@ -1,4 +1,4 @@ -FROM python:alpine +FROM nginx:alpine # Set environment variables ENV PORT="80" @@ -6,7 +6,7 @@ ENV VIRTUAL_ENV="/mkdocs" ENV PATH = "$VIRTUAL_ENV/bin:$PATH" # Install necessary packages -RUN apk add --no-cache git nginx envsubst +RUN apk add --no-cache git py3-pip envsubst # Create work directory RUN mkdir /mkdocs @@ -30,17 +30,10 @@ RUN touch /docker-entrypoint.d/port.sh \ COPY root /etc/crontabs/root # Configure mkdocs-git -COPY root /etc/crontabs/root COPY mkdocs-git /bin/mkdocs-git RUN chmod 744 /bin/mkdocs-git # Configure cron entrypoints RUN touch /docker-entrypoint.d/cron.sh \ && echo "exec crond" > /docker-entrypoint.d/cron.sh \ - && chmod 776 /docker-entrypoint.d/cron.sh - -# Expose the port -EXPOSE $PORT - -# Start Nginx -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file + && chmod 776 /docker-entrypoint.d/cron.sh \ No newline at end of file