Skip to content

Commit 8ede9dc

Browse files
committed
Update Dockerfile
1 parent 7e45093 commit 8ede9dc

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ ENV LANG en_US.UTF-8
2222
ENV LANGUAGE en_US:en
2323
ENV LC_ALL en_US.UTF-8
2424

25-
COPY requirements.txt /app/
25+
COPY . /app
2626

27-
RUN pip3 install -r requirements.txt
27+
RUN python3 setup.py install
2828

29-
COPY trdg/ /app

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If you would rather not have to install anything to use TextRecognitionDataGener
2525
```
2626
docker pull belval/trdg:latest
2727
28-
docker run /output/path/:/app/out/ -t belval/trdg:latest python3 run.py [args]
28+
docker run -v /output/path/:/app/out/ -t belval/trdg:latest trdg [args]
2929
```
3030

3131
The path (`/output/path/`) must be absolute.

0 commit comments

Comments
 (0)