Spaces:
Running
Running
XxxX
Browse files- Dockerfile +15 -0
- 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:
|
5 |
-
colorTo:
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
---
|
9 |
|
10 |
-
|
|
|
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
|