run docker capture version

This commit is contained in:
scito
2022-12-29 03:19:09 +01:00
parent b4931856ba
commit 47e84e4462
3 changed files with 9 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
FROM python:3.11-slim-bullseye
FROM python:3.11-bullseye
WORKDIR /extract
@@ -8,7 +8,7 @@ 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