mirror of
https://github.com/CERT-Polska/mailgoose.git
synced 2026-10-11 19:48:59 +02:00
16 lines
351 B
Docker
16 lines
351 B
Docker
FROM python:latest
|
|
|
|
COPY test/requirements.txt /requirements.txt
|
|
COPY scan/requirements.txt /scan-requirements.txt
|
|
RUN pip install -r /requirements.txt -r /scan-requirements.txt
|
|
|
|
COPY common/wait-for-it.sh /wait-for-it.sh
|
|
|
|
RUN mkdir /test
|
|
COPY test/*.py /test
|
|
COPY scan/libmailgoose /test/libmailgoose
|
|
|
|
WORKDIR /test/
|
|
|
|
CMD python -m unittest discover
|