feat(server): Integrate gpu-screen-recorder into the server (#11)

## Description

**What(what issue does this code solve/what feature does it add):**

We succesfully built the gpu-screen-recorder in a separate container...
now we need to add it into the main container

**How(how does it solve it):**
1. Copy the relevant user/bin files from the separate docker image
2. 
## Required Checklist:

- [x] I have added any necessary documentation and comments in my code
(where appropriate)
- [ ] I have added tests to make sure my code runs in all contexts

## Further comments
This commit is contained in:
Wanjohi
2024-04-03 21:58:29 +00:00
committed by GitHub
parent b381e44b96
commit 9131344d30

View File

@@ -1,5 +1,7 @@
#This contains all the necessary libs for the server to work.
#NOTE: KEEP THIS IMAGE AS LEAN AS POSSIBLE.
FROM ghcr.io/wanjohiryan/netris/recorder:nightly as recorder
FROM ubuntu:23.10
ENV DEBIAN_FRONTEND=noninteractive \
@@ -126,4 +128,7 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
COPY --from=recorder /usr/bin/gpu-screen-recorder /usr/bin/gpu-screen-recorder
COPY --from=recorder /usr/bin/gsr-kms-server /usr/bin/gsr-kms-server
CMD [ "/usr/bin/netris/entrypoint.sh" ]