Update Dockerfile to include Sveltia CMS admin files in user documentation build
Build and Push MkDocs Docker Image / build-and-push (push) Successful in 1m43s
Build and Push MkDocs Docker Image / build-and-push (push) Successful in 1m43s
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ COPY pandoc/filters pandoc/filters
|
|||||||
COPY user/ user/
|
COPY user/ user/
|
||||||
COPY admin/ admin/
|
COPY admin/ admin/
|
||||||
|
|
||||||
RUN cd user && mkdocs build --clean && cd ..
|
RUN cd user && mkdocs build --clean && cp -r sveltia/_admin site/. && cd ..
|
||||||
RUN cd admin && mkdocs build --clean && cd ..
|
RUN cd admin && mkdocs build --clean && cd ..
|
||||||
|
|
||||||
# -------- Stage 2: Serve the built documentation with nginx --------
|
# -------- Stage 2: Serve the built documentation with nginx --------
|
||||||
|
|||||||
Reference in New Issue
Block a user