uptime-kuma/test/ubuntu-nodejs16.dockerfile

11 lines
283 B
Text
Raw Normal View History

2021-09-17 10:19:19 +03:00
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