Set default user to couchbase in Dockerfile

Added USER couchbase to ensure the container runs as the couchbase user instead of root, improving security.
This commit is contained in:
2025-10-05 00:36:43 +07:00
parent 92ab83b0bd
commit 76d66c39d4
+2
View File
@@ -22,4 +22,6 @@ RUN export INSTALL_DONT_START_SERVER=1 && \
EXPOSE 8091 8092 11210 11211
USER couchbase
CMD ["couchbase-server"]