[mirotalksfu] - add RTMP server and multi-source streaming!, update dep

هذا الالتزام موجود في:
Miroslav Pejic
2024-06-29 18:49:10 +02:00
الأصل aaf5fe44ed
التزام 3929212631
52 ملفات معدلة مع 3986 إضافات و132 حذوفات

عرض الملف

@@ -0,0 +1,26 @@
# Use a lightweight Node.js image
FROM node:20-slim
# Set working directory
WORKDIR /app
# Copy package.json and install npm dependencies
COPY package.json .
RUN npm install
# Cleanup unnecessary packages and files
RUN npm cache clean --force \
&& rm -rf /tmp/* /var/tmp/* /usr/share/doc/*
# Copy the application code
COPY src src
# Rtmp port
EXPOSE 1935
# Http port
EXPOSE 8081
# Https port
EXPOSE 8043
# Set default command to start the application
CMD ["npm", "start"]