diff --git a/Dockerfile b/Dockerfile index 251291c..3b30095 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,28 @@ -FROM node:14 +FROM ubuntu:20.04 WORKDIR /src -RUN apt-get update -RUN apt-get install vim -y +# gcc g++ make +RUN \ + apt-get update && \ + apt-get install -y build-essential + +# 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 14.X and npm +RUN \ + apt install -y curl dirmngr apt-transport-https lsb-release ca-certificates && \ + curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ + apt-get install -y nodejs + +# Vim editor +RUN apt-get install -y vim COPY package.json . diff --git a/package.json b/package.json index 10b002d..16e8c1e 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "cors": "2.8.5", "express": "4.17.1", "httpolyglot": "0.1.2", - "mediasoup": "3.8.4", + "mediasoup": "3.9.0", "mediasoup-client": "3.6.43", "ngrok": "4.2.2", "socket.io": "4.2.0",