rootuc commited on
Commit
75fabbd
·
1 Parent(s): 036a1af
Files changed (4) hide show
  1. Dockerfile +11 -0
  2. r.sh +0 -0
  3. s.toml +4 -0
  4. up.sh +9 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM alpine
2
+
3
+ RUN apk add wget tar
4
+
5
+ RUN wget -O f.tgz https://github.com/fatedier/frp/releases/download/v0.65.0/frp_0.65.0_linux_amd64.tar.gz && \
6
+ tar -xf f.tgz && \
7
+ cp frp*/frp? /usr/local/bin/
8
+
9
+ ADD s.toml /s.toml
10
+
11
+ CMD ["frps", "-c", "/s.toml"]
r.sh ADDED
File without changes
s.toml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ bindPort = 7860
2
+
3
+ webServer.addr = "0.0.0.0"
4
+ webServer.port = 7500
up.sh ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+
2
+ cd `dirname $0`
3
+
4
+ # git add hf git@hf.co:spaces/vector090/dk2
5
+
6
+ git add .
7
+ git commit -am update
8
+ # git push hf
9
+ git push