-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add TCP/UDP ports check in github actions
- Loading branch information
yngrtc
committed
Feb 18, 2024
1 parent
6fc0cdc
commit 36095ce
Showing
8 changed files
with
41 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Use rust image as base | ||
FROM rust:latest | ||
|
||
# Set working directory inside the container | ||
WORKDIR /usr/src/app | ||
|
||
# Copy the Rust project files into the container | ||
COPY . . | ||
|
||
# Build the Rust project | ||
RUN cargo build --release --package sfu --example chat | ||
|
||
# Expose the TCP port the signal server will listen on | ||
EXPOSE 8081 | ||
# Expose the UDP ports the media server will listen on | ||
EXPOSE 3478-3495/udp | ||
|
||
# Command to run the server | ||
CMD ["./target/release/examples/chat", "-d", "--level", "info"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.