tam888888 h commited on
Commit
985b879
·
1 Parent(s): b60da3d
Files changed (2) hide show
  1. Dockerfile +18 -0
  2. README.md +6 -5
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Kéo image từ Docker Hub
2
+ FROM 8888888888020385/abz:1.3
3
+
4
+ # Đặt thư mục làm việc (tuỳ chọn)
5
+ USER root
6
+ WORKDIR /app
7
+ # RUN cp -r /root/.cloudflared /etc/cloudflared
8
+ RUN chmod +x /app/websocket.sh && \
9
+ chmod -R 777 /app/webapp /app/websocket /app/cloudflared /etc/cloudflared /root/.cloudflared
10
+ RUN chmod 777 /etc/cloudflared
11
+ RUN chmod 777 /etc/cloudflared/*
12
+ RUN ls /root/.cloudflared
13
+ RUN ls /etc/cloudflared/
14
+
15
+ ENV PATH=/home/user/.npm-global/bin:$PATH
16
+ USER 1000
17
+ #### ABC
18
+ CMD ["http-server",".","-p","7860"]
README.md CHANGED
@@ -1,10 +1,11 @@
1
  ---
2
- title: Nostart
3
- emoji: 🏢
4
- colorFrom: yellow
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
 
1
  ---
2
+ title: Stock
3
+ emoji: 👁
4
+ colorFrom: indigo
5
+ colorTo: yellow
6
  sdk: docker
7
+ pinned: true
8
+ app_port: 7860
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference