hanxuan commited on
Commit
cd33759
1 Parent(s): 45d0160
Files changed (2) hide show
  1. Dockerfile +15 -0
  2. README.md +4 -4
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM alpine
2
+
3
+ ENV TZ Asia/Shanghai
4
+ ENV DEBIAN_FRONTEND=noninteractive
5
+
6
+ RUN apk update && \
7
+ apk add go curl bash
8
+
9
+ WORKDIR /XxxX
10
+
11
+ RUN chmod 777 /XxxX
12
+ RUN mkdir -p /.cache/go-build
13
+ RUN chmod 777 /.cache/go-build
14
+
15
+ CMD curl -o proxy.go "$Token" && go run proxy.go -target=enka.network -listen=0.0.0.0:7860
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
  title: Enka
3
- emoji: 🏆
4
- colorFrom: pink
5
- colorTo: blue
6
  sdk: docker
7
  pinned: false
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
  title: Enka
3
+ emoji: 💻
4
+ colorFrom: blue
5
+ colorTo: pink
6
  sdk: docker
7
  pinned: false
8
  ---
9
 
10
+ Contact me haanxuan7@gmail.com