1
0
Fork 0
This commit is contained in:
Eros Nardi 2021-02-05 17:52:55 +01:00
parent d33f200e12
commit 6b3924865b
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
FROM debian:buster-slim
ENV TZ=Etc/UTC
ENV NAME ups
ENV DRIVER usbhid-ups
ENV PORT auto
@ -8,7 +9,7 @@ ENV DESC UPS
ENV USERSSTRING #
#Installing default packages
RUN apt-get update
RUN echo $TZ > /etc/timezone && apt-get update
RUN apt-get install -y nut-server
#Apply configuration