Testing poetry

This commit is contained in:
iFargle
2023-02-08 10:21:59 +09:00
parent 4c6c9ac3b4
commit dd7126a771
2 changed files with 23 additions and 2 deletions

View File

@@ -19,8 +19,6 @@ RUN pip install poetry && poetry config virtualenvs.in-project true
WORKDIR ${WORKDIR}
COPY --chown=1000:1000 . .
# Install dependencies globally with poetry
RUN poetry install --only main
FROM python:3.11-alpine

23
pyproject.toml Normal file
View File

@@ -0,0 +1,23 @@
[tool.poetry]
name = "headscale-webui"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
license = "AGPL"
[tool.poetry.dependencies]
python = "^3.10"
requests = "^2.28.2"
Flask = "^2.2.2"
cryptography = "^39.0.0"
python-dateutil = "^2.8.2"
pytz = "^2022.7.1"
Flask-Executor = "^1.0.0"
PyYAML = "^6.0"
pyuwsgi = "^2.0.21"
gunicorn = "^20.1.0"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]