Skip to content

Commit

Permalink
chore: docs now move to
Browse files Browse the repository at this point in the history
  • Loading branch information
AprilNEA committed Dec 27, 2023
1 parent 9aef736 commit 6b030eb
Show file tree
Hide file tree
Showing 27 changed files with 44 additions and 370 deletions.
44 changes: 44 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
FROM node:18-alpine AS base
RUN apk update
RUN apk add --no-cache libc6-compat


FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app

COPY package.json pnpm-lock.yaml* ./
RUN yarn global add pnpm && pnpm i --frozen-lockfile

FROM base AS builder
FROM base AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .

ENV NEXT_TELEMETRY_DISABLED 1

RUN pnpm install

FROM base AS runner
WORKDIR /app

ENV NEXT_TELEMETRY_DISABLED 1
ENV NODE_ENV production

# Don't run production as root
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
USER nextjs

COPY --from=installer /app/apps/web/next.config.js .
COPY --from=installer /app/apps/web/package.json .

# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --from=installer --chown=nextjs:nodejs /app/apps/web/.next/standalone ./
COPY --from=installer --chown=nextjs:nodejs /app/apps/web/.next/static ./apps/web/.next/static
COPY --from=installer --chown=nextjs:nodejs /app/apps/web/public ./apps/web/public

CMD node apps/web/server.js
5 changes: 0 additions & 5 deletions docs/next-env.d.ts

This file was deleted.

10 changes: 0 additions & 10 deletions docs/next.config.js

This file was deleted.

27 changes: 0 additions & 27 deletions docs/package.json

This file was deleted.

Binary file removed docs/public/images/content-safe/baidu.png
Binary file not shown.
Binary file removed docs/public/images/email/elastice-01.png
Binary file not shown.
Binary file removed docs/public/images/email/mailgun-01.png
Binary file not shown.
Binary file removed docs/public/images/email/mailgun-02.png
Binary file not shown.
Binary file removed docs/public/images/email/mailgun-03.png
Binary file not shown.
Binary file removed docs/public/images/email/mailgun-04.png
Binary file not shown.
Binary file removed docs/public/images/email/mailgun-05.png
Binary file not shown.
Binary file removed docs/public/images/email/mailgun-06.png
Binary file not shown.
Binary file removed docs/public/images/email/mailgun-07.png
Binary file not shown.
Binary file removed docs/public/images/email/wechat-01.png
Binary file not shown.
Binary file removed docs/public/images/pay/xunhu-01.png
Binary file not shown.
Binary file removed docs/public/images/sms/unisms-01.png
Binary file not shown.
Empty file removed docs/src/components/sponsors.tsx
Empty file.
10 changes: 0 additions & 10 deletions docs/src/hooks/use-stars.ts

This file was deleted.

20 changes: 0 additions & 20 deletions docs/src/pages/_meta.json

This file was deleted.

3 changes: 0 additions & 3 deletions docs/src/pages/development/_meta.json

This file was deleted.

38 changes: 0 additions & 38 deletions docs/src/pages/development/auth.md

This file was deleted.

64 changes: 0 additions & 64 deletions docs/src/pages/index.mdx

This file was deleted.

131 changes: 0 additions & 131 deletions docs/src/pages/quickstart.mdx

This file was deleted.

Empty file removed docs/src/pages/upgrade/log.mdx
Empty file.
4 changes: 0 additions & 4 deletions docs/src/pages/upgrade/v1tov3.mdx

This file was deleted.

13 changes: 0 additions & 13 deletions docs/theme.config.tsx

This file was deleted.

Loading

0 comments on commit 6b030eb

Please sign in to comment.