7 Commits

Author SHA1 Message Date
Dominique Lasserre
b620250536 Streamline Dockerfile, remove unused deps
* Dockerfile: Use non-root user, buildx cache, setup for readonly
   container, remove unused apt deps.
   For now don't install pip package and keep development flask server
   as this will be replaced in the future (fastapi). Then a proper
   webserver (e.g. nginx) should be used and the pip package can be
   created and deployed just to the run-stage (with the webserver).
 * docker-compose: Set to readonly (anonymous volumes declared in
   Dockerfile should maintain all writable data).
   Mount config.py for easier development. Should be replaced by
   environment support for all config file variables.
 * Remove unused runtime dependencies: mariadb, joblib, pytest,
   pytest-cov.
 * Move pytest-cov to dev dependencies.
 * Add output_dir to config.py.
 * Fix visualization_results.pdf endpoint.
 * Update docs.
2024-10-11 08:39:14 +02:00
Bobby Noelte
efd32b9185 Adapt Dockerfile to package directory structure.
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-07 08:12:33 +02:00
Sebastian Struß
00c8b91c61 Add docker multi-arch build with github package push and cleaned up Dockerfile for smaller builds 2024-10-05 08:53:14 +02:00
Michael Osthege
d987437b01 Manual edits to remove remaining code style errors 2024-10-03 17:28:49 +02:00
Dominik Siebel
298b93c595 expose flask port 2024-09-17 09:06:56 +02:00
Dominik Siebel
3e4526786d ci: don't upgrade pip 2024-09-17 09:06:56 +02:00
Dominik Siebel
e4f0eedded ci: dockerize setup 2024-09-17 09:06:56 +02:00