Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Update Dockerfile #293

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions SignallingWebServer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Use the current Long Term Support (LTS) version of Node.js
FROM node:lts

# Copy the signalling server and frontend source code from the build context
COPY /SignallingWebServer /SignallingWebServer
COPY /Frontend /Frontend
# Copy the signalling server source code from the build context
COPY . /opt/SignallingWebServer

# Install the dependencies for the signalling server and build the frontend
RUN SignallingWebServer/platform_scripts/bash/setup.sh --build
# 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
Expand All @@ -22,4 +22,4 @@ EXPOSE 8889
EXPOSE 9999

# Set the signalling server as the container's entrypoint
ENTRYPOINT ["/usr/local/bin/node", "/SignallingWebServer/cirrus.js"]
ENTRYPOINT ["/usr/local/bin/node", "/opt/SignallingWebServer/cirrus.js"]