rename ARG run_tests to RUN_TESTS

This commit is contained in:
scito
2022-12-29 01:48:00 +01:00
parent aa0de699fe
commit 1dee86668a
4 changed files with 7 additions and 7 deletions

View File

@@ -4,11 +4,11 @@ WORKDIR /extract
COPY . .
ARG run_tests=true
ARG RUN_TESTS=true
RUN apt-get update && apt-get install -y libzbar0 python3-opencv nano \
&& pip install -r requirements.txt \
&& if [[ "$run_tests" == "true" ]]; then /extract/run_pytest.sh; else echo "Not running tests..."; fi
&& if [[ "$RUN_TESTS" == "true" ]]; then /extract/run_pytest.sh; else echo "Not running tests..."; fi
WORKDIR /files