Skip to content

Commit 0613dff

Browse files
committed
fix Dockerfile
1 parent b7ce0cd commit 0613dff

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $FILES_NAMES is a list of file's name from the INPUT_DIR. It is optional : witho
2929
### Run the application using Docker
3030

3131
```bash
32-
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} $DAC_NAME ./file_checker_spec ./results ./data [$FILES_NAMES]
32+
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]
3333
```
3434

3535
You need to mount external directories to the container :

file_checker_exec/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ RUN set -e \
2929
&& adduser --system --uid 1001 -G gcontainer fileCheckerRunner
3030

3131
RUN set -e \
32-
&& mkdir -p /app/results /app/data /app/file_checker_spec; \
33-
&& chown root:gcontainer /app/results /app/data /app/file_checker_spec; \
34-
&& chmod 2775 /app/results; \
32+
&& mkdir -p /app/results /app/data /app/file_checker_spec \
33+
&& chown root:gcontainer /app/results /app/data /app/file_checker_spec \
34+
&& chmod 2775 /app/results \
3535
&& chmod 2755 /app/data /app/file_checker_spec
3636

3737
# Copy the built jar file to the runtime stage

0 commit comments

Comments
 (0)