26 lines
324 B
Markdown
26 lines
324 B
Markdown
### Building
|
|
|
|
Build base image
|
|
```bash
|
|
setup/docker.sh
|
|
```
|
|
|
|
Build head image
|
|
```bash
|
|
docker build -f Dockerfile -t image-prediction . --build-arg BASE_ROOT=""
|
|
```
|
|
|
|
### Usage
|
|
|
|
Shell 1
|
|
|
|
```bash
|
|
docker run --rm --net=host --rm image-prediction
|
|
```
|
|
|
|
Shell 2
|
|
|
|
```bash
|
|
python scripts/pyinfra_mock.py --pdf_path /path/to/a/pdf
|
|
```
|