Add Dockerfile & build/push task (#316)

* add dockerfile and actions task to build image

* test on branch

* change to push only on release, update readme

* remove pip install requirements

* change to on release github action
This commit is contained in:
Nathan Thorpe
2022-05-05 18:06:38 -07:00
committed by GitHub
parent bfd1aa8172
commit abf07125c4
4 changed files with 74 additions and 0 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:3.9-slim
WORKDIR /app
COPY parsedmarc/ parsedmarc/
COPY README.rst setup.py ./
RUN python setup.py install
ENTRYPOINT ["parsedmarc"]