docker clear
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
.git
|
|
||||||
.github
|
|
||||||
.agents
|
|
||||||
.codex
|
|
||||||
node_modules
|
|
||||||
docs/.vitepress/dist
|
|
||||||
docs/.vitepress/cache
|
|
||||||
_test_*
|
|
||||||
|
|
||||||
-18
@@ -1,18 +0,0 @@
|
|||||||
FROM node:20-alpine AS build
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
RUN corepack enable && corepack prepare pnpm@9.15.9 --activate
|
|
||||||
|
|
||||||
COPY package.json pnpm-lock.yaml ./
|
|
||||||
RUN pnpm install --frozen-lockfile
|
|
||||||
|
|
||||||
COPY . .
|
|
||||||
RUN pnpm docs:build
|
|
||||||
|
|
||||||
FROM nginx:1.27-alpine
|
|
||||||
|
|
||||||
COPY --from=build /app/docs/.vitepress/dist /usr/share/nginx/html
|
|
||||||
|
|
||||||
EXPOSE 80
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user