File size: 531 Bytes
959dc8a
 
df169fd
959dc8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Base image
FROM node:18

# Install supervisor
RUN apt-get update && apt-get install -y supervisor

# Set working directory
WORKDIR /app

# Clone LibreChat
RUN git clone https://github.com/danny-avila/LibreChat.git librechat

# Install server dependencies
RUN cd librechat/server && npm install

# Install client dependencies
RUN cd librechat/client && npm install

# Copy supervisor config
COPY supervisord.conf /etc/supervisord.conf

# Start both frontend and backend
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]