mirror of
https://github.com/tiennm99/docker-images.git
synced 2026-10-12 20:15:44 +00:00
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:
1 parent
92ab83b0bd
commit
76d66c39d4
1 file changed
+2
@@ -22,4 +22,6 @@ RUN export INSTALL_DONT_START_SERVER=1 && \
|
||||
|
||||
EXPOSE 8091 8092 11210 11211
|
||||
|
||||
USER couchbase
|
||||
|
||||
CMD ["couchbase-server"]
|
||||
Reference in new issue
Block a user