fix: Resolve docker-dev build failures for arm64 and macOS #641
+9
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


Fixes #640
This PR addresses multiple issues that were causing the
make docker-devcommand to fail for users onarm64(Apple Silicon) machines.1. Fixes Puppeteer/Chromium Build Failure
yarn installbecausepuppeteercould not find a pre-builtarm64Linux binary for Chromium.RUN apt-get update && apt-get install -y chromiumstep to theDockerfile-devto install the required binary beforeyarn installis run.2. Fixes Missing Python 'venv' Error
make install-deps-pythoncommand checks for a./venvdirectory that hadn't been created.python3 -m venv venvto the Dockerfile to create the virtual environment before themakecommand is called.3. Resolves macOS Port Conflict
make docker-dev-runfailed with an "address already in use" error, as port 5000 is often used by the macOS AirPlay Receiver.docker-dev-runtarget in theMakefileto map to port5001on the host (-p 5001:5000) to avoid this common conflict.With these changes, users on
arm64/macOS can successfully build and run the development container.