File size: 290 Bytes
b649ac7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Use official Node 20 image
FROM node:20

# Install pnpm globally
RUN npm install -g pnpm

# Set working directory
WORKDIR /app

# Copy all files
COPY . .

# Install dependencies and build frontend
RUN pnpm install
RUN pnpm build

# Start the LibreChat backend server
CMD ["pnpm", "start"]