There were many unecessary docker compose files that performed unnecessary tasks; Much of what we wanted to accomplish could be done in a much simpler way.
Motivation and Context
The current docker file was creating many unnamed volumes and instead of composing it down each time, are assigned actual names so Docker reuses them.
Screenshot:
Volumes
Images
Containers
Additional Notes
The Dockerfile was also simplified to reduce the overhead
Python was removed (it was only necessary for Discord.js)
The runner stage was removed (It is only necessary for Production environments)
The builder stage was converted in just a build stage for testing
Types of changes
[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X] Refactoring (non-breaking change)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
There were many unecessary docker compose files that performed unnecessary tasks; Much of what we wanted to accomplish could be done in a much simpler way.
Motivation and Context
The current docker file was creating many unnamed volumes and instead of composing it down each time, are assigned actual names so Docker reuses them.
Screenshot:
Volumes
Images
Containers
Additional Notes
The Dockerfile was also simplified to reduce the overhead
Types of changes
Checklist: