patch: work around pip's secure-install bug; bump version

- upstream issue: https://github.com/pypa/pip/issues/9644
- runs tests within a container, uses the same `dockerfile`
- ignores `pdm.lock`, removes `requirement.txt`
- update manual contribution steps
- bumps project version

**Related Items**

_Issues_

- Closes #137
This commit is contained in:
Jovial Joe Jayarson
2023-07-19 17:49:49 +05:30
parent 78ac94ef4f
commit 9630bc0a2b
9 changed files with 69 additions and 1095 deletions

View File

@@ -38,10 +38,10 @@ ENV PATH="${PATH}:/root/.local/bin" \
PIP_DEFAULT_TIMEOUT=100
# copy project files
COPY --chown=root:root requirements.txt main.py /app/
COPY --chown=root:root pyproject.toml main.py /app/
# install dependencies
RUN python -m pip install -r /app/requirements.txt
RUN python -m pip install /app/
# execute program
CMD python /app/main.py