Spaces:
Sleeping
Sleeping
Xiao commited on
Commit ·
6f598f2
1
Parent(s): eaa04f2
change user permission
Browse files- docker-compose.yaml +2 -2
- run_hf.sh +3 -1
docker-compose.yaml
CHANGED
|
@@ -12,8 +12,8 @@ services:
|
|
| 12 |
ports:
|
| 13 |
- "80:3000"
|
| 14 |
- "3000:3000"
|
| 15 |
-
|
| 16 |
-
|
| 17 |
# - .nginx/nginx.conf:/etc/nginx/nginx.conf
|
| 18 |
|
| 19 |
|
|
|
|
| 12 |
ports:
|
| 13 |
- "80:3000"
|
| 14 |
- "3000:3000"
|
| 15 |
+
volumes:
|
| 16 |
+
- ./run_hf.sh:/app/run_hf.sh
|
| 17 |
# - .nginx/nginx.conf:/etc/nginx/nginx.conf
|
| 18 |
|
| 19 |
|
run_hf.sh
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
# nginx -g daemon off;
|
| 4 |
-
service nginx start
|
|
|
|
|
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
# nginx -g daemon off;
|
| 4 |
+
service nginx start
|
| 5 |
+
|
| 6 |
+
sleep 1h
|