build docker images, run tests in docker build

- qreader_available flag
- echo commands in upgrade_deps.sh
This commit is contained in:
scito
2022-12-26 23:39:13 +01:00
parent 0490e227e1
commit 672d18a5ca
8 changed files with 173 additions and 111 deletions

View File

@@ -4,9 +4,10 @@ WORKDIR /extract
COPY . .
RUN apt-get update && apt-get install -y libzbar0 python3-opencv \
&& pip install -r requirements.txt
RUN apt-get update && apt-get install -y libzbar0 python3-opencv nano \
&& pip install -r requirements.txt \
&& /extract/run_pytest.sh
WORKDIR /files
ENTRYPOINT [ "python", "/extract/extract_otp_secret_keys.py" ]
ENTRYPOINT ["python", "/extract/extract_otp_secret_keys.py"]