back to waitress
This commit is contained in:
parent
d7d8b061ea
commit
a83b8103c9
|
@ -1,4 +1,4 @@
|
||||||
FROM tecktron/python-bjoern:latest-slim
|
FROM tecktron/python-waitress:slim
|
||||||
|
|
||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
COPY ./requirements.txt .
|
COPY ./requirements.txt .
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import bjoern
|
from waitress import serve
|
||||||
from docker_status import app
|
from docker_status import app
|
||||||
|
|
||||||
bjoern.run(app, "0.0.0.0", 1111)
|
serve(app, listen='*:1111')
|
||||||
|
|
|
@ -1,15 +1,5 @@
|
||||||
# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand.
|
# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand.
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "bjoern"
|
|
||||||
version = "3.2.2"
|
|
||||||
description = "A screamingly fast Python 2 + 3 WSGI server written in C."
|
|
||||||
optional = false
|
|
||||||
python-versions = "*"
|
|
||||||
files = [
|
|
||||||
{file = "bjoern-3.2.2.tar.gz", hash = "sha256:16e5a02a9a17a7f5f8bea0d7c58650e78ab80ead6fe3e390037573d4355baf31"},
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "blinker"
|
name = "blinker"
|
||||||
version = "1.6.2"
|
version = "1.6.2"
|
||||||
|
@ -354,6 +344,21 @@ secure = ["certifi", "cryptography (>=1.9)", "idna (>=2.0.0)", "pyopenssl (>=17.
|
||||||
socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"]
|
socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"]
|
||||||
zstd = ["zstandard (>=0.18.0)"]
|
zstd = ["zstandard (>=0.18.0)"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "waitress"
|
||||||
|
version = "2.1.2"
|
||||||
|
description = "Waitress WSGI server"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7.0"
|
||||||
|
files = [
|
||||||
|
{file = "waitress-2.1.2-py3-none-any.whl", hash = "sha256:7500c9625927c8ec60f54377d590f67b30c8e70ef4b8894214ac6e4cad233d2a"},
|
||||||
|
{file = "waitress-2.1.2.tar.gz", hash = "sha256:780a4082c5fbc0fde6a2fcfe5e26e6efc1e8f425730863c04085769781f51eba"},
|
||||||
|
]
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
docs = ["Sphinx (>=1.8.1)", "docutils", "pylons-sphinx-themes (>=1.0.9)"]
|
||||||
|
testing = ["coverage (>=5.0)", "pytest", "pytest-cover"]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "websocket-client"
|
name = "websocket-client"
|
||||||
version = "1.6.1"
|
version = "1.6.1"
|
||||||
|
@ -390,4 +395,4 @@ watchdog = ["watchdog (>=2.3)"]
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = "^3.11"
|
python-versions = "^3.11"
|
||||||
content-hash = "7b49838ba7ada1db17ba863aa5d6284cf5081f6f61bd38c1f170ce76d1b43719"
|
content-hash = "5846197a062489b5886e4c72eb0c16b33c25c7bbf32e694d7443358901f16980"
|
||||||
|
|
|
@ -16,8 +16,7 @@ docker = "^6.1.3"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[tool.poetry.group.prod.dependencies]
|
[tool.poetry.group.prod.dependencies]
|
||||||
bjoern = "^3.2.2"
|
waitress = "^2.1.2"
|
||||||
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core"]
|
requires = ["poetry-core"]
|
||||||
|
|
Loading…
Reference in New Issue