build: publish docs to cloudflare pages (#5230)

This commit is contained in:
Oleg Lobanov authored and GitHub committed 2025-06-28 22:20:26 +02:00
1 parent a5ea2a266b
commit 8861933cf8
20 files changed
+46 -34

No files matched your search

+2 -6
View File
@@ -5,15 +5,11 @@ RUN apk add --no-cache inotify-tools
WORKDIR /build
COPY site/requirements.txt /build/requirements.txt
COPY site/ /build/
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port for mkdocs serve
EXPOSE 8000
# Copy the watch script and make it executable
COPY scripts/watch.sh /usr/local/bin/watch.sh
RUN chmod +x /usr/local/bin/watch.sh
# The entrypoint will run the initial setup and then start the server.
ENTRYPOINT ["/usr/local/bin/watch.sh"]
ENTRYPOINT ["mkdocs", "serve", "-a", "0.0.0.0:8000", "--dirtyreload"]