wg-easy/Dockerfile

13 lines
301 B
Docker
Raw Normal View History

2021-05-22 17:12:26 +08:00
FROM debian:bullseye
# Install Linux packages
RUN apt update
RUN apt install -y wireguard iproute2 openresolv curl
# Install Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs
# RUN wg-quick up wg0
EXPOSE 51820
ENTRYPOINT ["tail", "-f", "/dev/null"]