File size: 238 Bytes
313c7b4
9bbeca0
3cfe20a
 
 
 
081fd9f
 
 
 
 
9bbeca0
313c7b4
 
946a168
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM chipsman/uptime-kuma:latest


# 安装 Node.js
RUN apk update && \
    apk add --no-cache nodejs npm

# 设置目录权限
RUN mkdir -p /app/data && chown -R node:node /app

USER node
    
EXPOSE 3001

CMD ["node","server/server.js"]