signalling server update

This commit is contained in:
2023-05-19 01:59:50 +03:00
parent a0a4ca1cc0
commit d3260522f4
95 changed files with 0 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# Use the current Long Term Support (LTS) version of Node.js
FROM node:lts
# Copy the signalling server source code from the build context
COPY . /opt/SignallingWebServer
# Install the dependencies for the signalling server
WORKDIR /opt/SignallingWebServer
RUN npm install .
# Expose TCP ports 80 and 443 for player WebSocket connections and web server HTTP(S) access
EXPOSE 80
EXPOSE 443
# Expose TCP port 8888 for streamer WebSocket connections
EXPOSE 8888
# Expose TCP port 8889 for connections from the SFU
EXPOSE 8889
# Expose TCP port 9999 for connections from the Matchmaker
EXPOSE 9999
# Set the signalling server as the container's entrypoint
ENTRYPOINT ["/usr/local/bin/node", "/opt/SignallingWebServer/cirrus.js"]