feat: updated dockerfile, deps, guide & fix src

- fix logical error, better non 200 resp message in main.py
- updated dependencies
- major updates to contributing guide
- quicker prod builds with reduced docker layers
- adds dockerfile for development
- updates github action for unit-tests
This commit is contained in:
Jovial Joe Jayarson
2022-09-20 20:47:54 +05:30
parent 3f32dda864
commit 44f2fac0d4
9 changed files with 239 additions and 116 deletions

5
.github/testing.yml vendored
View File

@@ -10,7 +10,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
@@ -19,8 +18,8 @@ jobs:
python-version: "3.10"
- name: Install dependencies
run: |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - --version 1.1.13
echo "##vso[task.setvariable variable=PATH]${PATH}:$HOME/.poetry/bin"
curl -sSL https://install.python-poetry.org | python -
export PATH="$HOME/.poetry/bin:${PATH}"
source $HOME/.poetry/env
poetry install
- name: Run unit tests