Files
rag_agent/rag-web-ui/frontend/Dockerfile.dev
2026-04-13 11:34:23 +08:00

22 lines
383 B
Docker

FROM node:20-alpine
WORKDIR /app
# Install pnpm
RUN npm install -g pnpm@10.28.2
# Copy package files
COPY package.json pnpm-lock.yaml ./
# Install dependencies
RUN pnpm install --frozen-lockfile
# Copy the rest of the application
COPY . .
# Expose the port
EXPOSE 3000
# Start the development server, attention: this is for development, not for production
CMD ["pnpm", "dev"]