Initial commit: apps.prometeysev.ru

This commit is contained in:
root committed 2026-10-22 00:22:57 +03:00
commit 96ccabcd8b
6561 files changed
+1270349

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
# Generate the HTML output.
FROM markstory/cakephp-docs-builder as builder
COPY docs /data/docs
RUN cd /data/docs-builder && \
# In the future repeat website for each version
make website LANGS="en fr ja pt ru" SOURCE=/data/docs DEST=/data/website/
# Build a small nginx container with just the static site in it.
FROM nginx:1.15-alpine
COPY --from=builder /data/website /data/website
COPY --from=builder /data/docs-builder/nginx.conf /etc/nginx/conf.d/default.conf
# Move each version into place
RUN cp -R /data/website/html/* /usr/share/nginx/html \
&& rm -rf /data/website/
RUN ln -s /usr/share/nginx/html /usr/share/nginx/html/2.x