hetzner-storagebox-exporter/Dockerfile

11 lines
198 B
Text
Raw Normal View History

2022-10-06 20:43:36 +00:00
FROM alpine
RUN apk add --no-cache nmap-ncat openssl coreutils openssh
ADD check-storage.sh /check-storage.sh
ADD header.sh /header.sh
EXPOSE 80
CMD nc -lk -p 80 -e /header.sh /check-storage.sh