aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-11-07 21:46:29 +0000
committersaturneric <[email protected]>2025-11-07 21:46:29 +0000
commit64015efd219702ec75732caa31c459dad71217db (patch)
tree4c40f8ebe1ab8bd29c53e13f676d00f827d15326
parentrefactor(repolist): simplify repository initialization logic (diff)
downloadcgit-64015efd219702ec75732caa31c459dad71217db.tar.gz
cgit-64015efd219702ec75732caa31c459dad71217db.zip
feat(docker): expose port 80 for container usage
* Declare port 80 to enable easier access to the running service * Facilitates integration with container orchestration and networking * Improves developer experience when testing or deploying
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 6906deb..12f87d0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -27,4 +27,5 @@ COPY cgitrepos /etc/cgitrepos
RUN mkdir -p /var/cache/cgit && \
chown -R lighttpd:lighttpd /var/cache/cgit
+EXPOSE 80
ENTRYPOINT [ "lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf" ] \ No newline at end of file