Spaces:
Building
Building
tam888888 h
commited on
Commit
·
985b879
1
Parent(s):
b60da3d
add
Browse files- Dockerfile +18 -0
- 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:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: docker
|
7 |
-
pinned:
|
|
|
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
|