1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-28 08:48:45 +02:00

change the docker base image to node:14-alpine3.14, reduce the container size

This commit is contained in:
LouisLam 2021-07-13 11:32:09 +08:00
parent 0f1a95fde9
commit 99afdabcac

View File

@ -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
COPY . .