Fix dockerfile

This commit is contained in:
Paul Nameless 2021-04-28 12:23:44 +03:00
parent 9dacb30bfb
commit 81bcb5e942
2 changed files with 9 additions and 9 deletions

View file

@ -8,7 +8,7 @@ RUN pip3 install --disable-pip-version-check --no-cache-dir poetry
COPY poetry.lock pyproject.toml /app/ COPY poetry.lock pyproject.toml /app/
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi --no-dev RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi --no-dev --no-root
COPY . /app COPY . /app

View file

@ -1,11 +1,3 @@
[tool.black]
line-length = 79
[tool.isort]
line_length = 79
multi_line_output = 3
include_trailing_comma = true
[tool.poetry] [tool.poetry]
name = "tg" name = "tg"
version = "0.17.0" version = "0.17.0"
@ -33,3 +25,11 @@ tg = "tg.__main__:main"
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
[tool.isort]
line_length = 79
multi_line_output = 3
include_trailing_comma = true