File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
3535You need to mount external directories to the container :
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ RUN set -e \
2929&& adduser --system --uid 1001 -G gcontainer fileCheckerRunner
3030
3131RUN 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
You can’t perform that action at this time.
0 commit comments