add dockerfile

This commit is contained in:
Branden J Brown 2025-03-15 20:38:49 -04:00
parent 94580d73be
commit 773015dd15
2 changed files with 9 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM golang:1.24
WORKDIR /app
COPY . .
RUN chmod +x test.bash
CMD ["./test.bash"]

View File

@ -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