Unverified 提交 dcecab68 作者: Steven Allen 提交者: GitHub

Merge pull request #5615 from funkyfuture/patch-1

Dockerfile: Specifies comments on exposed ports
......@@ -51,11 +51,13 @@ COPY --from=0 /etc/ssl/certs /etc/ssl/certs
# This shared lib (part of glibc) doesn't seem to be included with busybox.
COPY --from=0 /lib/x86_64-linux-gnu/libdl-2.24.so /lib/libdl.so.2
# Ports for Swarm TCP, Swarm uTP, API, Gateway, Swarm Websockets
# Swarm TCP; should be exposed to the public
EXPOSE 4001
EXPOSE 4002/udp
# Daemon API; must not be exposed publicly but to client services under you control
EXPOSE 5001
# Web Gateway; can be exposed publicly with a proxy, e.g. as https://ipfs.example.org
EXPOSE 8080
# Swarm Websockets; must be exposed publicly when the node is listening using the websocket transport (/ipX/.../tcp/8081/ws).
EXPOSE 8081
# Create the fs-repo directory and switch to a non-privileged user.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论