ajout app

This commit is contained in:
2024-04-17 20:22:30 +02:00
parent cc017cfc5e
commit f9d05a2fd3
8025 changed files with 729805 additions and 0 deletions

22
MiroTalk SFU/Dockerfile Normal file
View File

@ -0,0 +1,22 @@
FROM node:18-slim
WORKDIR /src
# https://mediasoup.org/documentation/v3/mediasoup/installation/
ENV MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD="true"
COPY package.json .
RUN \
DEBIAN_FRONTEND=noninteractive apt-get update && \
apt-get install -y --no-install-recommends build-essential python3-pip && \
npm install && \
apt-get -y purge --auto-remove build-essential python3-pip && \
apt-get install -y --no-install-recommends python3 && \
npm cache clean --force && \
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /usr/share/doc/*
COPY app app
COPY public public
CMD npm start