From 6efa235224bda89ffe75c1f385378deef8528d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20S=C3=B6lch?= Date: Tue, 13 Aug 2024 11:16:27 +0200 Subject: [PATCH] Development: Simplify AMM Dockerfile and add modules config to docker compose prod (#332) --- assessment_module_manager/Dockerfile | 3 +-- docker-compose.prod.yml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assessment_module_manager/Dockerfile b/assessment_module_manager/Dockerfile index 15ae1fcd..964f6639 100644 --- a/assessment_module_manager/Dockerfile +++ b/assessment_module_manager/Dockerfile @@ -26,8 +26,7 @@ RUN poetry config virtualenvs.create true \ COPY . ./ # Use modules configuration file for docker -RUN cp ./modules.docker.ini ./modules.ini -RUN rm ./modules.docker.ini +RUN mv ./modules.docker.ini ./modules.ini # poetry scripts don't work here CMD poetry run python -m assessment_module_manager diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 3350ae01..35a9aef9 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -23,6 +23,7 @@ services: image: ls1tum/athena_assessment_module_manager:${ATHENA_TAG:-develop} volumes: - ./deployments.ini:/code/deployments.ini:ro + - ./modules.ini:/code/modules.ini:ro module_example: hostname: module-example