File size: 387 Bytes
4dbd9e0
d20e9f7
4dbd9e0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e09e330
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Use Bun Alpine as base image
FROM oven/bun:alpine

# Set working directory
WORKDIR /

# Copy application files
COPY . ./

# Copy .env file if it exists
#COPY .env* ./

# Install dependencies if package.json exists
#RUN if [ -f package.json ]; then bun install --frozen-lockfile; fi

# Expose port (adjust if needed)
EXPOSE 7860

# Run the chat.js application
CMD ["bun", "./server.js"]