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

chore: update Dockerfile.dev to be friendly to M1 Mac machine #1874

Merged
merged 1 commit into from
Jul 4, 2022

Conversation

thanhdatle
Copy link
Contributor

@thanhdatle thanhdatle commented Jun 30, 2022

Problem

npm run dev doesn't work in M1 Macbook due to Docker build fail. The issue is reported here

Closes [insert issue #]

Solution

Bug Fixes:

By updating the dockerfile.dev with --platform=amd64, we force the platform to be amd64 and this seems to fix the build. No other solution has been found on this.

@thanhdatle thanhdatle merged commit 99a30d3 into develop Jul 4, 2022
@thanhdatle thanhdatle deleted the chore/update-dockerfile-dev branch July 4, 2022 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants