Skip to content

Commit

Permalink
Development: Simplify AMM Dockerfile and add modules config to docker…
Browse files Browse the repository at this point in the history
… compose prod (#332)
  • Loading branch information
maximiliansoelch authored Aug 13, 2024
1 parent 584e154 commit 6efa235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions assessment_module_manager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6efa235

Please sign in to comment.