uptime / Dockerfile
Vinbor's picture
Update Dockerfile
f94e29e verified
raw
history blame
No virus
238 Bytes
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"]