Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development: Simplify AMM Dockerfile and add modules config to docker compose prod #332

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading