Update Dockerfile

This commit is contained in:
Alexandre
2022-05-04 21:04:52 +02:00
committed by GitHub
parent 0ffcaa1aa4
commit 884ba59aa6

View File

@@ -23,12 +23,6 @@ FROM tritruongtr/zoneminder:latest
# 2 Modify Image #
##################
# Global variables
ENV DZM_CONFIG_DIR="/config/addons_config/zoneminder"
ENV DIR_IMAGES="/var/cache/zoneminder/images2"
ENV ZM_DIR_EVENTS="/var/cache/zoneminder/events2"
ENV DIR_SOUNDS="/var/cache/zoneminder/sounds2"
# Change config location
# hadolint ignore=DL4006
RUN sed -i 's|/etc/zm.conf|/config/addons_config/zoneminder/zm.conf|g' /usr/local/bin/entrypoint.sh \