Optimize Docker (#575)

* reduce docker dev size

* reduce docker prod size

* fix lint

* add gunicorn

* fix bandit reported issues

* add docs external link icon

* add env vars to docs

* add permission to docker

* merge to one backend Dockerfile

* fix codefactor issues

* add docs for puid/pgid

* add docker healthcheck
This commit is contained in:
wengtad
2021-06-23 02:22:31 +08:00
committed by GitHub
parent 6320ba7ec5
commit 999d0d4322
34 changed files with 465 additions and 193 deletions

View File

@@ -34,7 +34,8 @@ Pillow = "^8.2.0"
pathvalidate = "^2.4.1"
apprise = "^0.9.2"
recipe-scrapers = "^13.2.7"
psycopg2 = { version = "^2.8.6", optional = true }
psycopg2-binary = {version = "^2.9.1", optional = true}
gunicorn = "^20.1.0"
[tool.poetry.dev-dependencies]
@@ -67,4 +68,4 @@ testpaths = [
skip_empty = true
[tool.poetry.extras]
pgsql = ["psycopg2"]
pgsql = ["psycopg2-binary"]