feat: bye travis, hi gh actn, hndl empty resp, tip in readme

This commit is contained in:
Jovial Joe Jayarson
2022-02-26 11:02:54 +05:30
parent ec7c2a0b9c
commit 88979b6b3c
8 changed files with 77 additions and 36 deletions

View File

@@ -21,6 +21,7 @@ WORKDIR /src
# RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
RUN pip install pipx
RUN pipx install "poetry==$POETRY_VERSION"
RUN pipx ensurepath
# install dependencies
COPY pyproject.toml poetry.lock /src/
@@ -28,4 +29,4 @@ RUN poetry install --no-dev --no-root --no-interaction --no-ansi
# copy and run program
COPY main.py /src/
RUN python /src/main.py
CMD [ "python", "/src/main.py" ]