[mirotalksfu] - lighter docker container
هذا الالتزام موجود في:
30
Dockerfile
30
Dockerfile
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:20.04
|
||||
FROM node:latest
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
@@ -9,31 +9,5 @@ RUN \
|
||||
|
||||
# Python 3.8 and pip
|
||||
RUN \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && \
|
||||
apt install -y software-properties-common && \
|
||||
add-apt-repository ppa:deadsnakes/ppa && \
|
||||
apt update && \
|
||||
apt install -y python3.8 python3-pip
|
||||
|
||||
# NodeJS 16.X and npm
|
||||
RUN \
|
||||
apt install -y curl dirmngr apt-transport-https lsb-release ca-certificates && \
|
||||
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||
apt-get install -y nodejs && \
|
||||
npm install -g npm@latest
|
||||
|
||||
# Vim editor
|
||||
RUN apt-get install -y vim
|
||||
|
||||
COPY package.json .
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY app app
|
||||
COPY public public
|
||||
|
||||
EXPOSE 3010/tcp
|
||||
EXPOSE 40000-40100/tcp
|
||||
EXPOSE 40000-40100/udp
|
||||
|
||||
CMD npm start
|
||||
apt install -y python3-pip
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم