Add a dedicated `eirescope` user (UID 1000) and chown /app to it so the image no longer runs as root. Drop flask and sqlalchemy from requirements.txt — neither is imported anywhere; the server uses stdlib http.server and raw sqlite3. Add jinja2 explicitly (it was previously a transitive of Flask) and pin upper bounds on every dep so builds are at least somewhat reproducible.
7 lines
134 B
Text
7 lines
134 B
Text
requests>=2.31,<3
|
|
beautifulsoup4>=4.12,<5
|
|
jinja2>=3.1,<4
|
|
ipwhois>=1.2,<2
|
|
dnspython>=2.4,<3
|
|
phonenumbers>=8.13,<9
|
|
python-whois>=0.9,<1
|