docker image with qreader, 2nd image without qreader

- organize imports
- add qreader pytest.mark
- relaxed mode for pytest
- run tests in docker
- more tests
This commit is contained in:
scito
2022-12-26 18:31:09 +01:00
parent 2bcaa35251
commit 0490e227e1
10 changed files with 159 additions and 31 deletions

11
Dockerfile_no_qr_reader Normal file
View File

@@ -0,0 +1,11 @@
FROM python:3.11-alpine
WORKDIR /extract
COPY . .
RUN pip install protobuf qrcode Pillow
WORKDIR /files
ENTRYPOINT [ "python", "/extract/extract_otp_secret_keys.py" ]