-
Giovanni Vindiola authoredGiovanni Vindiola authored
CyberarchLinuxPixelStreamingClientLocal 1.60 KiB
# Copy the packaged files into a runtime container image that doesn't include any Unreal Engine components
FROM gitlab-registry.nrp-nautilus.io/cyberarch/webxrpixelstreaming/unreal-engine:runtime-pixel-streaming
USER root
RUN apt update && apt install -y x11-xserver-utils libnss3 libatk1.0-0 libxkbcommon-x11-0 libpangocairo-1.0-0 && apt clean
COPY Linux /home/ue4/project
# Expose TCP port 80 so external applications can access the web server
EXPOSE 80
WORKDIR /home/ue4/project/
RUN chmod +x ./CyberProject.sh
RUN chmod -R 777 .
# Set the project as the container's entrypoint
# (Replace "/home/ue4/project/MyProject.sh" with the path to your project's startup script)
#
# Note that we use 127.0.0.1 as the IP address for Cirrus here,
# which only works if both containers are running on the same host system in host networking mode
USER ue4
#ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video,graphics,display
CMD ["/home/ue4/project/CyberProject.sh", "-RenderOffscreen", "-Windowed", "-ForceRes", "-ResX=1920", "-ResY=1080", "-PixelStreamingIP=127.0.0.1", "-PixelStreamingPort=8888", "-AllowPixelStreamingCommands=true"]
#/home/ue4/project/WebXRPixelStreaming.sh -RenderOffscreen -Windowed -ForceRes -ResX=1920 -ResY=1080 -PixelStreamingIP=127.0.0.1 -PixelStreamingPort=8888 -PixelStreamingEnableHMD -AllowPixelStreamingCommands=true
#/usr/local/bin/node /SignallingWebServer/cirrus.js --peerConnectionOptions "{\"iceServers\":[{\"urls\":[\"stun:stun.nrp-nautilus.io:3478\",\"turns:turn.nrp-nautilus.io:3478\"],\"username\":\"1733189766-x-auth-user\",\"credential\":\"hpoSQmZYVF8oLXZ8dqjOBP1AfTM=\"}]}" --UseHttps true