mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-13 23:17:00 +08:00
change the docker base image to node:14-alpine3.14, reduce the container size
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
FROM node:14
|
FROM node:14-alpine3.14
|
||||||
|
|
||||||
|
# sqlite have to build on arm
|
||||||
|
RUN apk add --no-cache make g++ python3
|
||||||
|
RUN ln -s /usr/bin/python3 /usr/bin/python
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
Reference in New Issue
Block a user