run docker capture version
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user