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