wg-easy-extended/Dockerfile
renovate[bot] 06b16b1fbb
Update mindflavor/prometheus-wireguard-exporter Docker tag to v3.6.4 (#10)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-23 03:05:40 +07:00

15 lines
411 B
Docker

FROM weejewel/wg-easy:7
# hadolint ignore=DL3022,DL3023
COPY --from=mindflavor/prometheus-wireguard-exporter:3.6.4 /usr/local/bin/prometheus_wireguard_exporter /usr/local/bin/
RUN apk add -U --no-cache \
wireguard-tools=1.0.20200102-r0
COPY entrypoint.sh /app/entrypoint.sh
RUN chmod +x /app/entrypoint.sh
EXPOSE 9586/tcp
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["/usr/bin/dumb-init", "node", "server.js"]