Skip to content

Commit

Permalink
✨ feat(server): Integrate gpu-screen-recorder into the server
Browse files Browse the repository at this point in the history
  • Loading branch information
wanjohiryan committed Apr 3, 2024
1 parent b381e44 commit 3449380
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions server.Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down Expand Up @@ -126,4 +128,9 @@ 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

RUN /usr/bin/gpu-screen-recorder --help

CMD [ "/usr/bin/netris/entrypoint.sh" ]

0 comments on commit 3449380

Please sign in to comment.