File size: 370 Bytes
095dadd
36d488d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM node:20-slim

# Install FFmpeg for video processing
RUN apt-get update && apt-get install -y ffmpeg python3 make g++

WORKDIR /app

# Copy package files
COPY package*.json ./
RUN npm install

# Copy source code
COPY . .

# Expose port
EXPOSE 7860

# Environment variables (Defaults)
ENV PORT=7860
ENV NODE_ENV=production

# Run the server
CMD ["node", "server.js"]