Skip to content

Commit 9d1e4b1

Browse files
kaysondAlexxIT
andauthored
Add EXPOSE to Dockerfile (#2010)
* Expose ports 1984 and 8554 in Dockerfile * Update Dockerfile * Update hardware.Dockerfile * Expose additional ports in Rockchip Dockerfile * Move docker expose ports to single line --------- Co-authored-by: Alex X <alexey.khit@gmail.com>
1 parent f85cfdc commit 9d1e4b1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ RUN if [ "${TARGETARCH}" = "amd64" ]; then apk add --no-cache libva-intel-driver
4747

4848
COPY --from=build /build/go2rtc /usr/local/bin/
4949

50+
EXPOSE 1984 8554 8555 8555/udp
5051
ENTRYPOINT ["/sbin/tini", "--"]
5152
VOLUME /config
5253
WORKDIR /config

docker/hardware.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,t
4949

5050
COPY --from=build /build/go2rtc /usr/local/bin/
5151

52+
EXPOSE 1984 8554 8555 8555/udp
5253
ENTRYPOINT ["/usr/bin/tini", "--"]
5354
VOLUME /config
5455
WORKDIR /config

docker/rockchip.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,t
4343
COPY --from=build /build/go2rtc /usr/local/bin/
4444
ADD --chmod=755 https://github.com/MarcA711/Rockchip-FFmpeg-Builds/releases/download/6.1-8-no_extra_dump/ffmpeg /usr/local/bin
4545

46+
EXPOSE 1984 8554 8555 8555/udp
4647
ENTRYPOINT ["/usr/bin/tini", "--"]
4748
VOLUME /config
4849
WORKDIR /config

0 commit comments

Comments
 (0)