Gabriel commited on
Commit
2cc2d47
1 Parent(s): 1dd7dc2

docker error #2

Browse files
Files changed (2) hide show
  1. .github/README.md +1 -11
  2. Dockerfile +0 -6
.github/README.md CHANGED
@@ -27,16 +27,6 @@ With pip:
27
  pip install -r requirements.txt
28
  ```
29
 
30
- and
31
-
32
- ```
33
- !pip install -U openmim
34
- !mim install mmengine
35
- !mim install mmcv
36
- !mim install mmdet
37
- !mim install mmocr
38
- ```
39
-
40
  Run app with:
41
 
42
  ```
@@ -58,7 +48,7 @@ docker build --tag htrflow/htrflow-app .
58
  Run container:
59
 
60
  ```
61
- docker run -it -d --name htrflow-app -p 7000:7000 htrflow/htrflow-app:latest
62
  ```
63
 
64
  ### Run with Docker with HF
 
27
  pip install -r requirements.txt
28
  ```
29
 
 
 
 
 
 
 
 
 
 
 
30
  Run app with:
31
 
32
  ```
 
48
  Run container:
49
 
50
  ```
51
+ docker run -it -d --name htrflow-app -p 7860:7860 htrflow/htrflow-app:latest
52
  ```
53
 
54
  ### Run with Docker with HF
Dockerfile CHANGED
@@ -22,12 +22,6 @@ COPY ./requirements.txt /code/requirements.txt
22
 
23
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
24
 
25
- # # mim openmmlabs installs (quick fix..)
26
- # RUN mim install mmengine
27
- # RUN mim install mmcv
28
- # RUN mim install mmdet
29
- # RUN mim install mmocr
30
-
31
  # Set up a new user named "user" with user ID 1000
32
  RUN useradd -m -u 1000 user
33
 
 
22
 
23
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
24
 
 
 
 
 
 
 
25
  # Set up a new user named "user" with user ID 1000
26
  RUN useradd -m -u 1000 user
27