1
0
mirror of https://github.com/Nardo86/nut-docker.git synced 2025-06-05 21:49:27 +02:00
This commit is contained in:
Eros Nardi
2021-02-05 17:52:55 +01:00
parent d33f200e12
commit 6b3924865b

View File

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