From b4a9e06811090d5d98c85de123231567740cbdd7 Mon Sep 17 00:00:00 2001
From: Martin Schmollinger <martin.schmollinger@reutlingen-university.de>
Date: Fri, 1 Dec 2023 11:57:26 +0100
Subject: [PATCH] Expose service on port 10000 when running a docker container

---
 code/mytodo/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/code/mytodo/Dockerfile b/code/mytodo/Dockerfile
index 2ad946b..9da899e 100644
--- a/code/mytodo/Dockerfile
+++ b/code/mytodo/Dockerfile
@@ -9,4 +9,5 @@ RUN go mod download && go mod verify
 COPY . .
 RUN go build -v -o /usr/local/bin/app
 
-CMD ["app"]
\ No newline at end of file
+CMD ["app"]
+EXPOSE 10000
\ No newline at end of file
-- 
GitLab