From 773015dd1535c4cdb634ad461e24491fdd0f5854 Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Sat, 15 Mar 2025 20:38:49 -0400 Subject: [PATCH] add dockerfile --- Dockerfile | 8 ++++++++ test.bash | 1 + 2 files changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5880cfc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM golang:1.24 + +WORKDIR /app + +COPY . . +RUN chmod +x test.bash + +CMD ["./test.bash"] diff --git a/test.bash b/test.bash index a562729..92d1b78 100755 --- a/test.bash +++ b/test.bash @@ -34,5 +34,6 @@ sleep 5 # Test leaving. ./chord-node leave -n 127.0.0.1:3000 +echo "NOTE: An ERROR line about the HTTP API server closing is expected." kill $FIRST $SECOND $THIRD