I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Verified Commit bd1017ba authored by LoveIsGrief's avatar LoveIsGrief
Browse files

Docker: Expose only the ports necessary

The range of 5k ports should be replaced by a more precise choice of ports.
It also pollutes the `docker inspect` output with 5k more lines.
parent c87e74ea
No related branches found
No related tags found
1 merge request!19Fix docker build
...@@ -38,7 +38,7 @@ RUN adduser --system --uid ${I2P_UID} --home /user ${I2P_USER} \ ...@@ -38,7 +38,7 @@ RUN adduser --system --uid ${I2P_UID} --home /user ${I2P_USER} \
&& chown -R ${I2P_USER} ${I2P_PREFIX} \ && chown -R ${I2P_USER} ${I2P_PREFIX} \
&& chmod -R u+rwx ${I2P_PREFIX} && chmod -R u+rwx ${I2P_PREFIX}
EXPOSE 7654 7656 7657 7658 4444 6668 8998 7659 7660 4445 15000-20000 EXPOSE 7654 7656 7657 7658 4444 6668 8998 7659 7660 4445
USER i2p USER i2p
ENTRYPOINT [ "/opt/i2p/i2psvc" ] ENTRYPOINT [ "/opt/i2p/i2psvc" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment