hanxuan commited on
Commit
71fb8f7
·
verified ·
1 Parent(s): c358ab2
Files changed (3) hide show
  1. Dockerfile +17 -0
  2. README.md +10 -10
  3. X +5 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM alpine
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive
4
+ ENV TZ=Asia/Shanghai
5
+
6
+ WORKDIR /GT-Manual
7
+
8
+ COPY X .
9
+
10
+ RUN apk update
11
+ RUN apk add npm curl bash unzip icu-data-full
12
+ RUN npm i -g pnpm
13
+
14
+ RUN chmod -R 777 /GT-Manual
15
+ RUN chmod -R 777 /tmp
16
+
17
+ CMD bash X
README.md CHANGED
@@ -1,10 +1,10 @@
1
- ---
2
- title: GT
3
- emoji: 🌍
4
- colorFrom: red
5
- colorTo: indigo
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: GT-Manual
3
+ emoji: 🚀
4
+ colorFrom: purple
5
+ colorTo: pink
6
+ sdk: docker
7
+ pinned: false
8
+ ---
9
+
10
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
X ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ echo ${URL}
2
+ curl -sSL "${URL}" -o "GT.zip"
3
+ unzip GT.zip
4
+ pnpm install
5
+ node app