docs: add cypress test

This commit is contained in:
MapleLeaf
2022-01-10 15:06:55 -06:00
parent 4f463bfa23
commit 87cbf1b74d
13 changed files with 758 additions and 3 deletions

View File

@@ -1,5 +1,8 @@
FROM node:lts-slim
ENV NODE_ENV=production
ENV CYPRESS_INSTALL_BINARY=0
WORKDIR /app
COPY / ./
@@ -9,5 +12,4 @@ RUN npm install -g pnpm
RUN pnpm install --unsafe-perm --frozen-lockfile
RUN pnpm run build -C packages/docs
ENV NODE_ENV=production
CMD [ "pnpm", "-C", "packages/docs", "start" ]