mirror of
https://github.com/Balshgit/python-poetry.git
synced 2025-09-10 16:30:41 +03:00
add sample poetry lock to Dockerfile build
This commit is contained in:
parent
c06c1a453c
commit
ee03576721
@ -39,7 +39,7 @@ RUN groupadd ${USER} && useradd -g ${USER} ${USER}
|
||||
RUN mkdir /code /poetry
|
||||
RUN chown -R ${USER}:${USER} /code /poetry
|
||||
|
||||
COPY --chown=${USER}:${USER} ./pyproject.toml /code/
|
||||
COPY --chown=${USER}:${USER} ./poetry/pyproject.toml /code/
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
|
27
poetry/pyproject.toml
Normal file
27
poetry/pyproject.toml
Normal file
@ -0,0 +1,27 @@
|
||||
[tool.poetry]
|
||||
name = "main packages"
|
||||
version = "1.0.2"
|
||||
description = "poetry requiremts creation"
|
||||
authors = ["Dmitry Afanasyev <Balshbox@gmail.com>"]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
Python="^3.11"
|
||||
aiohttp = "^3.8"
|
||||
loguru = "^0.7"
|
||||
requests = "^2.31"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
ipython = "^8.14"
|
||||
|
||||
black = "^23.7"
|
||||
mypy = "^1.5"
|
||||
flake8 = "^6.1"
|
||||
|
||||
pytest = "^7.4"
|
||||
coverage = "^7.3"
|
||||
|
||||
safety = "^2.3"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
Loading…
x
Reference in New Issue
Block a user