mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-10 07:34:07 -08:00
11 lines
283 B
Docker
11 lines
283 B
Docker
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
|