chore(frontend): 删除废弃 frontend Dockerfile.prod

This commit is contained in:
肖应宇 2026-03-29 00:51:15 +08:00
parent e8b145bff3
commit 00505f643d
1 changed files with 0 additions and 18 deletions

View File

@ -1,18 +0,0 @@
# --------------- 构建阶段 ---------------
FROM node:22-alpine AS builder
ENV NODE_ENV=production
ARG PNPM_STORE_PATH=/root/.local/share/pnpm/store
ENV BETTER_AUTH_SECRET=any-random-string-123456
RUN corepack enable && corepack install -g pnpm@10.26.2
RUN pnpm config set store-dir ${PNPM_STORE_PATH}
WORKDIR /app
COPY frontend/ .
RUN pnpm install --frozen-lockfile
RUN pnpm build
EXPOSE 3000
CMD ["pnpm", "start"]