Skip to content

Commit

Permalink
Merge pull request #168 from tbrlpld/fix-docker-for-apple-silicon
Browse files Browse the repository at this point in the history
Add specific image platform
  • Loading branch information
tbrlpld authored Jul 12, 2023
2 parents d02a792 + cacad27 commit 4d34764
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ services:
build:
context: .
target: backend-development
# Platforms need to be specified for the build to work on Apple Silicon Macs.
platforms:
- linux/amd64
command: ["tail", "-f", "/dev/null"]
env_file:
- .env
Expand All @@ -17,6 +20,9 @@ services:
build:
context: .
target: frontend
# Platforms need to be specified for the build to work on Apple Silicon Macs.
platforms:
- linux/amd64
command: ["tail", "-f", "/dev/null"]
env_file:
- .env
Expand Down

0 comments on commit 4d34764

Please sign in to comment.