Skip to content

Commit bcbc96e

Browse files
committed
code-server: Expose typical port numbers, use the lowest 1870 for code-server
1 parent fd61bbd commit bcbc96e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

code-server/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ RUN echo "export PATH=/workspaces/ejabberd/_build/relive:$PATH" >>.bashrc \
2424
&& chmod 400 .erlang.cookie
2525

2626
WORKDIR /workspaces/ejabberd
27-
ENTRYPOINT ["code-server", "--bind-addr", "0.0.0.0:5208", "--auth", "none", "/workspaces/ejabberd"]
27+
VOLUME ["workspaces/ejabberd"]
28+
EXPOSE 1870 1883 4369-4399 5210 5222 5269 5280 5443
29+
30+
ENTRYPOINT ["code-server", "--bind-addr", "0.0.0.0:1870", "--auth", "none", "/workspaces/ejabberd"]

0 commit comments

Comments
 (0)