nili 1 سال پیش
والد
کامیت
96b0b111f7
2فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 1 1
      Dockerfile
  2. 5 5
      ztncui.sh

+ 1 - 1
Dockerfile

@@ -1,4 +1,4 @@
-FROM node:slim AS jsbuilder
+FROM debian:bookworm-slim AS jsbuilder
 ENV NODEJS_MAJOR=18
 ENV DEBIAN_FRONTEND=noninteractive
 

+ 5 - 5
ztncui.sh

@@ -1,10 +1,10 @@
 #!/bin/bash
 apt update -y
-apt install gnupg2 ca-certificates zip unzip build-essential git python3 --no-install-recommends -y
-#curl -sL -o node_inst.sh https://deb.nodesource.com/setup_${NODEJS_MAJOR}.x
-#bash node_inst.sh
-apt install -y nodejs
-#rm -f node_inst.sh
+apt install curl gnupg2 ca-certificates zip unzip build-essential git --no-install-recommends -y
+curl -sL -o node_inst.sh https://deb.nodesource.com/setup_${NODEJS_MAJOR}.x
+bash node_inst.sh
+apt install -y nodejs --no-install-recommends
+rm -f node_inst.sh
 git clone https://github.com/kmahyyg/ztncui-aio.git tmp
 mv tmp/* /build
 sed -i "s|git clone https://github.com/key-networks/ztncui||g" build-ztncui.sh

粤ICP备19079148号