mirror of
https://github.com/Balshgit/different
synced 2025-09-11 02:50:41 +03:00
python-poetry reworked to 1.1.11 version
This commit is contained in:
parent
67c78c0632
commit
eace771033
@ -29,14 +29,16 @@ RUN apt update \
|
|||||||
&& export TERM=xterm \
|
&& export TERM=xterm \
|
||||||
# Installing `poetry` package manager:
|
# Installing `poetry` package manager:
|
||||||
# https://github.com/python-poetry/poetry
|
# https://github.com/python-poetry/poetry
|
||||||
&& curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - \
|
&& curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
|
||||||
&& poetry --version
|
|
||||||
|
|
||||||
COPY ./pyproject.toml /code/
|
COPY ./pyproject.toml /code/
|
||||||
|
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
|
||||||
RUN poetry lock && poetry export -f requirements.txt --output requirements.txt
|
RUN export PATH="/root/.local/bin:$PATH" \
|
||||||
|
&& poetry --version \
|
||||||
|
&& poetry lock \
|
||||||
|
&& poetry export -f requirements.txt --output requirements.txt
|
||||||
|
|
||||||
WORKDIR /poetry
|
WORKDIR /poetry
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ description = "my bot for telegram"
|
|||||||
authors = ["Dmitry Afanasyev <Balshbox@gmail.com>"]
|
authors = ["Dmitry Afanasyev <Balshbox@gmail.com>"]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "3.8.5"
|
python = "3.9.7"
|
||||||
telebot = "0.0.4"
|
telebot = "0.0.4"
|
||||||
psycopg2-binary = "^2.8"
|
psycopg2-binary = "^2.8"
|
||||||
python-decouple = "^3.3"
|
python-decouple = "^3.3"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user