Skip to content

Commit

Permalink
fix: use docker compose to force platform for apple silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Nov 27, 2024
1 parent f0967ed commit a69bb34
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion .devcontainer/Dockerfile

This file was deleted.

7 changes: 6 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"build": { "dockerfile": "Dockerfile" },
// "build": { "dockerfile": "Dockerfile" },
// "image": "ghcr.io/ucsd-e4e/aid-audio-sim:latest",
"dockerComposeFile": "docker-compose.yaml",
"workspaceFolder": "/workspace",
"service": "aid-audio-sim",
"overrideCommand": true,
"shutdownAction": "stopCompose",
"postCreateCommand": "pip install -r requirements.txt",
"customizations": {
"vscode": {
Expand Down
6 changes: 6 additions & 0 deletions .devcontainer/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
services:
aid-audio-sim:
image: ghcr.io/ucsd-e4e/aid-audio-sim:latest
platform: linux/amd64
volumes:
- ..:/workspace:cached

0 comments on commit a69bb34

Please sign in to comment.