Initial commit: apps.supersam24.ru
This commit is contained in:
commit
e955e1da36
6566 files changed
+1271095
No files matched your search
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
# Generate the HTML output.
|
||||
FROM markstory/cakephp-docs-builder as builder
|
||||
|
||||
# Copy entire repo in with .git so we can build all versions in one image.
|
||||
COPY docs /data/src
|
||||
|
||||
RUN cd /data/docs-builder \
|
||||
&& make website LANGS="en es fr ja pt ru" SOURCE=/data/src 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
|
||||
|
||||
# Copy docs into place.
|
||||
RUN cp -R /data/website/html/* /usr/share/nginx/html \
|
||||
&& rm -rf /data/website
|
||||
Reference in new issue
Block a user