This commit is contained in:
Emile Nijssen 2021-05-23 13:36:26 +02:00
parent d9901aa8a3
commit 0f220c1a78
14 changed files with 100 additions and 8 deletions

View file

@ -1,13 +1,14 @@
FROM debian:bullseye
FROM node:16-buster
# Install Linux packages
RUN apt-get clean
RUN echo "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/backports.list
RUN apt-get update
RUN apt-get 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 curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
# RUN apt-get install -y nodejs
COPY src/ /app/
WORKDIR /app