Skip to content

Commit

Permalink
Added setup for Docusaurus v2 and some docker-changes.
Browse files Browse the repository at this point in the history
Signed-off-by: Vedant Shrotria <[email protected]>
  • Loading branch information
Vedant Shrotria committed Nov 10, 2020
1 parent 728f8cf commit 6555894
Show file tree
Hide file tree
Showing 460 changed files with 3,719 additions and 3,329 deletions.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,18 @@ website/yarn.lock
website/node_modules
website/i18n/*
*.log

# Generated files
website/.docusaurus
website/.cache-loader

# Misc
.DS_Store
website/.env.local
website/.env.development.local
website/.env.test.local
website/.env.production.local

website/npm-debug.log*
website/yarn-debug.log*
website/yarn-error.log*
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM node:8.11.4 AS build-env
FROM node:14.15.0 AS build-env

WORKDIR /app/website

EXPOSE 3000 35729
COPY ./docs /app/docs
COPY ./website /app/website
RUN yarn install
RUN yarn build
CMD ["yarn", "start"]
RUN npm install
RUN npm run build
CMD ["npm", "start"]

FROM nginx:1.13-alpine
COPY --from=build-env /app/website/build/litmus/ /usr/share/nginx/html
Expand Down
Loading

0 comments on commit 6555894

Please sign in to comment.