Skip to content

Commit 8c31ebd

Browse files
committed
update readme
1 parent 39558ef commit 8c31ebd

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,19 @@ $FILES_NAMES is a list of file's name from the INPUT_DIR. It is optional : witho
2828

2929
### Run the application using Docker
3030

31+
```bash
32+
docker run --rm -v [ABSOLUTE_PATH_TO_DATA_FOLDER]:/app/data -v [ABSOLUTE_PATH_TO_OUTPUT_DIR]:/app/results ghcr.io/oneargo/argoformatchecker/app:{TAG} [$OPTIONS] $DAC_NAME ./file_checker_spec ./results ./data [$FILES_NAMES]
33+
```
34+
35+
Or if you want to use your own specification files :
36+
3137
```bash
3238
docker run --rm -v [ABSOLUTE_PATH_TO_SPEC]:/app/file_checker_spec -v [ABSOLUTE_PATH_TO_DATA_FOLDER]:/app/data -v [ABSOLUTE_PATH_TO_OUTPUT_DIR]:/app/results ghcr.io/oneargo/argoformatchecker/app:{TAG} [$OPTIONS] $DAC_NAME ./file_checker_spec ./results ./data [$FILES_NAMES]
3339
```
3440

3541
You need to mount external directories to the container :
3642

37-
[ABSOLUTE_PATH_TO_SPEC] : the file_checker_spec directory path.
43+
[ABSOLUTE_PATH_TO_SPEC] : OPTIONAL - The file_checker_spec directory path.
3844

3945
[ABSOLUTE_PATH_TO_DATA_FOLDER] : Path to directory containing the argo necdf files to be checked. The fileChecker will not seek files in subfolders
4046

@@ -43,7 +49,7 @@ You need to mount external directories to the container :
4349
Example :
4450

4551
```bash
46-
docker run --rm -v D:\test_file_checker\file_checker_spec:/app/file_checker_spec -v D:\test_file_checker\datatest:/app/data -v D:\test_file_checker\results:/app/results ghcr.io/oneargo/argoformatchecker/app:develop -no-name-check coriolis ./file_checker_spec ./results ./data
52+
docker run --rm -v D:\test_file_checker\datatest:/app/data -v D:\test_file_checker\results:/app/results ghcr.io/oneargo/argoformatchecker/app:develop -no-name-check coriolis ./file_checker_spec ./results ./data
4753
```
4854

4955
### Run the application using Docker Compose

0 commit comments

Comments
 (0)