Files
extract_otp_secrets/Dockerfile_no_qr_reader
T

17 lines
455 B
Plaintext
Raw Normal View History

FROM python:3.11-alpine
WORKDIR /extract
COPY . .
2022-12-28 09:02:02 +01:00
ARG run_tests=true
RUN pip install protobuf qrcode Pillow \
2022-12-28 09:02:02 +01:00
&& if [[ "$run_tests" == "true" ]] ; then /extract/run_pytest.sh test_extract_otp_secret_keys_pytest.py -k "not qreader" --relaxed ; else echo "Not running tests..." ; fi
WORKDIR /files
ENTRYPOINT ["python", "/extract/extract_otp_secret_keys.py"]
2022-12-27 01:11:36 +01:00
LABEL org.opencontainers.image.source https://github.com/scito/extract_otp_secret_keys