Updated Wazuh Dockerfile to copy the new migration script

This commit is contained in:
Jose M
2019-09-13 15:04:50 +02:00
parent 6d10834b7b
commit b0a0d42d42
+6 -1
View File
@@ -96,8 +96,13 @@ RUN mkdir /entrypoint-scripts
COPY config/entrypoint.sh /entrypoint.sh
COPY config/01-wazuh.sh /entrypoint-scripts/01-wazuh.sh
# Migration scripts
COPY migration/data_dirs.env /data_dirs.env
COPY migration/02-volume_loader.sh /entrypoint-scripts/02-volume_loader.sh
RUN chmod 755 /entrypoint.sh && \
chmod 755 /entrypoint-scripts/01-wazuh.sh
chmod 755 /entrypoint-scripts/01-wazuh.sh && \
chmod 755 /entrypoint-scripts/02-volume_loader.sh
# Run all services
ENTRYPOINT ["/entrypoint.sh"]