mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-01 04:00:40 +00:00
11 lines
283 B
Text
11 lines
283 B
Text
|
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
|