diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9826354b..2f699585 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # LTS steps: - name: Checkout uses: actions/checkout@v3 @@ -15,7 +15,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: '22.13.0' # LTS + node-version: '22.x' # Latest minor version in 22.x LTS series - name: Install dependencies run: npm install @@ -27,7 +27,7 @@ jobs: run: npm test build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # LTS needs: test # This ensures the build job only runs if the test job succeeds steps: - name: Checkout diff --git a/Dockerfile b/Dockerfile index e26b62f8..c70c5972 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -# Use a lightweight Node.js image -FROM node:lts-slim +# Use Node.js 22 LTS slim image as base +FROM node:22-slim # Set working directory WORKDIR /src @@ -21,9 +21,11 @@ COPY package.json . RUN npm install # Cleanup unnecessary packages and files -RUN apt-get purge -y --auto-remove build-essential python3-pip \ -&& npm cache clean --force \ -&& rm -rf /tmp/* /var/tmp/* /usr/share/doc/* +RUN apt-get purge -y --auto-remove \ + python3-pip \ + build-essential \ + && npm cache clean --force \ + && rm -rf /tmp/* /var/tmp/* /usr/share/doc/* # Copy the application code COPY app app diff --git a/app/src/Server.js b/app/src/Server.js index 1d6ee6fb..bcb18f57 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -55,7 +55,7 @@ dev dependencies: { * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.7.10 + * @version 1.7.11 * */ diff --git a/package.json b/package.json index 4ffca912..6491eb8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalksfu", - "version": "1.7.10", + "version": "1.7.11", "description": "WebRTC SFU browser-based video calls", "main": "Server.js", "scripts": { diff --git a/public/js/Room.js b/public/js/Room.js index 2b319fa3..20cd796e 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.7.10 + * @version 1.7.11 * */ @@ -4904,7 +4904,7 @@ function showAbout() { imageUrl: image.about, customClass: { image: 'img-about' }, position: 'center', - title: 'WebRTC SFU v1.7.10', + title: 'WebRTC SFU v1.7.11', html: `
diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index 5c5876cd..80b675c8 100644 --- a/public/js/RoomClient.js +++ b/public/js/RoomClient.js @@ -9,7 +9,7 @@ * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.7.10 + * @version 1.7.11 * */