mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-29 06:29:34 +00:00
subdir
This commit is contained in:
+1
-1
@@ -24,5 +24,5 @@ RUN stat /output/index.html
|
|||||||
RUN ["npm","run","build-algolia"]
|
RUN ["npm","run","build-algolia"]
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY --from=build /output /usr/share/nginx/html/
|
COPY --from=build /output /usr/share/nginx/html/docs/
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|||||||
+1
-1
@@ -22,5 +22,5 @@ RUN ["hugo", "--buildDrafts", "--buildFuture", "--baseURL=https://staging.ranche
|
|||||||
RUN stat /output/index.html
|
RUN stat /output/index.html
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY --from=build /output /usr/share/nginx/html/
|
COPY --from=build /output /usr/share/nginx/html/docs/
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user