1
0
Fork 0
nut-docker/Dockerfile

16 lines
212 B
Docker

FROM debian
ENV NAME myups
ENV DRIVER usbhid-ups
ENV PORT auto
ENV POLLFREQ 5
ENV DESC UPS
RUN apt-get update
RUN apt-get -y install nut-server
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 3493