Skip to content

[Feature] Add Docker Compose Support #7284

@Utkarsh-0304

Description

@Utkarsh-0304

Current Behaviour

Currently, when working on musicblocks using the Docker approach, every code change requires a full image rebuild. This slows down the development cycle significantly.

Desired Behaviour

Introduce a docker-compose.yml to support a hot-reloading environment by mounting the local directory into the container as a volume, so file changes are reflected immediately without rebuilding the image.

Implementation

  • Modifying the existing Dockerfile by switching from a multi-step Docker build to a single-step build.
  • Adding a new docker-compose.yaml file.

Acceptance Tests

docker compose up ---build(for the first time build) and docker compose up must run the application perfectly as it runs currently, with added functionality of volume mounts for hot reloading.

Environment

  • Operating System: Linux Ubuntu 24.04
  • Browser: Chrome
  • Version of Software/Project: v3.7.1

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions