Initial docs

This commit is contained in:
lvuch
2018-04-12 13:59:16 -07:00
commit d1752b4c7c
195 changed files with 131650 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
FROM rancherlabs/website:build as build
WORKDIR /run
COPY --from=rancherlabs/website-theme:latest /src/website-theme /run/node_modules/rancher-website-theme
COPY gulpfile.babel.js /run/
COPY .eslintrc.js /run/
COPY config.toml /run/
COPY netlify.toml /run/
COPY archetypes archetypes
COPY content content
COPY data data
COPY layouts layouts
COPY src src
ENV HUGO_ENV production
RUN gulp build
# Make sure something got built
RUN stat /run/public/index.html
FROM nginx
COPY --from=build /run/public /usr/share/nginx/html/