diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 678f426a0..9e7ed6f8d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,9 @@ { "name": "gibct-data-service", - "dockerComposeFile": "compose.yaml", - "service": "rails-app", + "build": { + "dockerfile": "Dockerfile", + "context": ".." + }, "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", "features": { "ghcr.io/devcontainers/features/docker-outside-of-docker": {}, @@ -27,7 +29,5 @@ }, "forwardPorts": [ 3000 - ], - "onCreateCommand": "bin/setup", - "postCreateCommand": "bin/setup" + ] }