Fix Docker build

This commit is contained in:
Sean Whalen
2022-09-09 16:36:03 -04:00
parent d2da6f30af
commit de3002db8b
2 changed files with 4 additions and 121 deletions

View File

@@ -2,8 +2,10 @@ FROM python:3.9-slim
WORKDIR /app
COPY parsedmarc/ parsedmarc/
COPY README.rst setup.py ./
COPY README.md pyproject.toml requirements.txt ./
RUN python setup.py install
RUN pip install -r requirements.txt
RUN hatch build
RUN pip install dist/*.whl
ENTRYPOINT ["parsedmarc"]