mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 09:35:58 +02:00
Update Dockerfile
This commit is contained in:
@@ -23,12 +23,6 @@ FROM tritruongtr/zoneminder:latest
|
|||||||
# 2 Modify Image #
|
# 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
|
# Change config location
|
||||||
# hadolint ignore=DL4006
|
# hadolint ignore=DL4006
|
||||||
RUN sed -i 's|/etc/zm.conf|/config/addons_config/zoneminder/zm.conf|g' /usr/local/bin/entrypoint.sh \
|
RUN sed -i 's|/etc/zm.conf|/config/addons_config/zoneminder/zm.conf|g' /usr/local/bin/entrypoint.sh \
|
||||||
|
|||||||
Reference in New Issue
Block a user