test nodejs 16

This commit is contained in:
Louis
2021-09-17 15:19:19 +08:00
parent a04878fa84
commit 6ec219908b
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
FROM ubuntu
WORKDIR /app
RUN apt update && apt --yes install git curl
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt --yes install nodejs
RUN git clone https://github.com/louislam/uptime-kuma.git .
RUN npm run setup
# Option 1. Try it
RUN node server/server.js