wg-easy-extended/Dockerfile
Pavel Popov 4e30cf81ef
Initial (#1)
* Initial

* Fixes

* Ignore hadolint DL3023 rule

* Ignore DL3022 rule

* Bump wireguard-tools

* Fix port value
2022-05-05 01:13:32 +03:00

15 lines
411 B
Docker

FROM weejewel/wg-easy:5
# hadolint ignore=DL3022,DL3023
COPY --from=mindflavor/prometheus-wireguard-exporter:3.5.1 /usr/local/bin/prometheus_wireguard_exporter /usr/local/bin/
RUN apk add -U --no-cache \
wireguard-tools=1.0.20210914-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"]