From ec86332290e27995ad7eb2786397c02aed149439 Mon Sep 17 00:00:00 2001 From: Eros Nardi Date: Wed, 13 Jan 2021 11:34:43 +0100 Subject: [PATCH] 0 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d9206ea..fc8d7d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM debian:buster-slim +ENV TZ Etc/UTC ENV NAME ups ENV DRIVER usbhid-ups ENV PORT auto @@ -9,8 +10,7 @@ ENV USERSSTRING # #Installing default packages RUN apt-get update -RUN apt-get install -y \ -nut-server +RUN apt-get install -y nut-server #Apply configuration RUN sed -i 's/MODE=none/MODE=netserver/g' /etc/nut/nut.conf \