upd
This commit is contained in:
+3
-3
@@ -27,14 +27,14 @@ FROM builder as makestatic
|
|||||||
|
|
||||||
COPY docs /src/docs/
|
COPY docs /src/docs/
|
||||||
COPY zensical.toml /src/
|
COPY zensical.toml /src/
|
||||||
COPY mkdocs.yml /src/ 2>/dev/null || true
|
|
||||||
COPY custom_theme /src/overrides/ 2>/dev/null || true
|
|
||||||
|
|
||||||
|
RUN cp -r /src/mkdocs.yml /src/ 2>/dev/null || true
|
||||||
|
RUN cp -r /src/custom_theme /src/overrides 2>/dev/null || true
|
||||||
RUN cd /src && zensical build --config-file zensical.toml
|
RUN cd /src && zensical build --config-file zensical.toml
|
||||||
|
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
COPY docker/default.conf /etc/nginx/conf.d/default.conf
|
COPY docker/default.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY --from=makestatic /src/site /sites/app.lexema.ru/docs
|
COPY --from=makestatic /src/site /sites/app.lexema.ru/docs
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
Reference in New Issue
Block a user