feat(server): Integrate ffmpeg and warp into the server

This commit is contained in:
Wanjohi
2024-04-04 04:17:33 +03:00
parent 4897a20ed0
commit 5d3d4acde7
3 changed files with 74 additions and 25 deletions

View File

@@ -2,7 +2,7 @@
#NOTE: KEEP THIS IMAGE AS LEAN AS POSSIBLE.
FROM ghcr.io/wanjohiryan/netris/recorder:nightly as recorder
FROM ubuntu:23.10
FROM ghcr.io/wanjohiryan/netris/ffmpeg:nightly
ENV DEBIAN_FRONTEND=noninteractive \
TIMEZONE=Africa/Nairobi
@@ -118,8 +118,9 @@ RUN apt-get update -y \
&& echo "load-module module-native-protocol-tcp auth-anonymous=1" >> /etc/pulse/default.pa
COPY .scripts/ /usr/bin/netris/
COPY warp /usr/bin/netris/
RUN ls -la /usr/bin/netris \
&& chmod +x /usr/bin/netris/proton /usr/bin/netris/entrypoint.sh
&& chmod +x /usr/bin/netris/proton /usr/bin/netris/entrypoint.sh /usr/bin/netris/warp
#Install proton
RUN /usr/bin/netris/proton -i