You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/docker/Dockerfile.web.dev

20 lines
412 B
Docker

# Development Dockerfile for web testing
FROM node:22-alpine
# Install pnpm
RUN npm install -g pnpm@10.11.1
# Set working directory
WORKDIR /app/web
# Copy package files
COPY ../web/package.json ../web/pnpm-lock.yaml ./
# Install dependencies with legacy peer deps
RUN pnpm install --frozen-lockfile || pnpm install
# Copy source code
COPY ../web .
# Default command
CMD ["pnpm", "test"]