Spaces:
Zienab
/
Runtime error

Zienab commited on
Commit
d12df82
·
verified ·
1 Parent(s): baf6edd

Create docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +21 -0
docker-compose.yml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: '3.10'
2
+
3
+ services:
4
+ app:
5
+ build: .
6
+ ports:
7
+ - "7863:7863"
8
+ volumes:
9
+ - huggingface_cache:/root/.cache/huggingface
10
+ environment:
11
+ - MODEL_PATH=RufusRubin777/GOT-OCR2_0_CPU
12
+ restart: unless-stopped
13
+ deploy:
14
+ resources:
15
+ limits:
16
+ memory: 4G
17
+ reservations:
18
+ memory: 2G
19
+
20
+ volumes:
21
+ huggingface_cache: