This is an automated email from the ASF dual-hosted git repository.
twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new 7f0c5156 Fix should listen on 0.0.0.0 in docker image (#1784)
7f0c5156 is described below
commit 7f0c5156493dc3601bbc6f2157f9fa1d8462ea51
Author: hulk <[email protected]>
AuthorDate: Tue Sep 26 20:48:24 2023 +0800
Fix should listen on 0.0.0.0 in docker image (#1784)
---
Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 68a754e2..e38a9f02 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,7 +28,7 @@ RUN ./x.py build -DENABLE_OPENSSL=ON -DPORTABLE=1
-DCMAKE_BUILD_TYPE=Release -j
FROM alpine:3.16
RUN apk upgrade && apk add libexecinfo
-RUN mkdir /var/run/kvrocks
+RUN mkdir /var/run/kvrocks
VOLUME /var/lib/kvrocks
@@ -43,4 +43,4 @@ COPY ./kvrocks.conf /var/lib/kvrocks/
EXPOSE 6666:6666
-ENTRYPOINT ["kvrocks", "-c", "/var/lib/kvrocks/kvrocks.conf", "--dir",
"/var/lib/kvrocks", "--pidfile", "/var/run/kvrocks/kvrocks.pid"]
+ENTRYPOINT ["kvrocks", "-c", "/var/lib/kvrocks/kvrocks.conf", "--dir",
"/var/lib/kvrocks", "--pidfile", "/var/run/kvrocks/kvrocks.pid", "--bind",
"0.0.0.0"]