mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-27 06:29:48 -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
|