Workdir and User updated for docker images

This commit is contained in:
Gonzalo Acuña
2022-03-15 16:17:10 -03:00
parent 31b44f3627
commit a31d5c7c1a
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -62,6 +62,8 @@ RUN mkdir -p /var/lib/wazuh-indexer && chown 1000:1000 /var/lib/wazuh-indexer &&
mkdir -p /run/wazuh-indexer && chown 1000:1000 /run/wazuh-indexer && \
mkdir -p /var/log/wazuh-indexer && chown 1000:1000 /var/log/wazuh-indexer
USER wazuh-indexer
# Services ports
EXPOSE 9200