Commit graph

11 commits

Author SHA1 Message Date
Ana Custura
3922082a56 feat: remove sudo from installed packages 2024-12-04 16:14:20 +00:00
Ana Custura
c50d341c26 feat: move from gunicorn to waitress
Waitress, unlike unicorn, is multi-threaded. As it does not do access logs
by default, the app needs to be wrapped in TransLogger before being passed to
Waitress.

To make the switch, a custom registry is now also used instead of the global REGISTRY
as the default registry for the app. As part of this change, the default
prometheus metrics are then also registered with this new registry.

Closes: #72
2024-12-04 16:14:01 +00:00
Ana Custura
3c3a1485e7 feat: simplify dockerfile to use the frontend makefile 2024-12-03 11:39:12 +00:00
Ana Custura
0867b13f8f feat: run with gunicorn instead of flask
Each worker now uses its own registry instead of the global REGISTRY
to avoid duplicate metric registration, since metrics are served
from the database.
2024-12-03 10:40:09 +00:00
Ana Custura
33243b77ba feat: remove cron and crontab from the docker image
Change is required to transition to podman in the future.
2024-12-02 18:49:20 +00:00
a482d5bba8 feat: upgrade python version and install frontend in container 2024-11-09 17:12:34 +00:00
abc1cf2b82 fix(Dockerfile): ensure git is installed for terraform modules 2023-03-30 13:33:10 +01:00
b1f874eaf3 fix(docker): chown the application files to bc user 2023-03-13 12:47:16 +00:00
6a79ebbd2d fix(docker): chown the application files to bc user 2023-03-13 11:50:25 +00:00
Ana Custura
bbcc451f65 Stop using entrypoints and remove entrypoint-based ci job 2022-12-07 13:28:13 +00:00
acute
1f1f811330 Add Dockerfile and build image with CI 2022-11-15 14:54:23 +00:00