minhuu commited on
Commit
050b24a
·
verified ·
1 Parent(s): db18c7a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -4,7 +4,10 @@ RUN apt install curl -y
4
  RUN apt install wget -y
5
  RUN apt install python3 -y
6
  RUN apt install unzip -y
7
- RUN curl -L https://raw.githubusercontent.com/nezhahq/scripts/main/agent/install.sh -o agent.sh && chmod +x agent.sh && env NZ_SERVER=vps-monitor.fly.dev:443 NZ_TLS=true NZ_CLIENT_SECRET=CqmryaDkXPUPoRtdGE8NvfGhjEOLu2b9 ./agent.sh
 
 
 
8
  EXPOSE 7860
9
 
10
  # Perintah untuk menjalankan server web sederhana
 
4
  RUN apt install wget -y
5
  RUN apt install python3 -y
6
  RUN apt install unzip -y
7
+ #RUN curl -L https://raw.githubusercontent.com/nezhahq/scripts/main/agent/install.sh -o agent.sh && chmod +x agent.sh && env NZ_SERVER=vps-monitor.fly.dev:443 NZ_TLS=true NZ_CLIENT_SECRET=CqmryaDkXPUPoRtdGE8NvfGhjEOLu2b9 ./agent.sh
8
+ RUN wget https://github.com/nezhahq/agent/releases/download/v1.9.5/nezha-agent_linux_amd64.zip
9
+ RUN unzip nezha-agent_linux_amd64.zip
10
+ RUN ./nezha-agent
11
  EXPOSE 7860
12
 
13
  # Perintah untuk menjalankan server web sederhana