diff --git a/bun.lockb b/bun.lockb index 2ac52e6..8f62875 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 81a4986..f163044 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "main": "src/index", "type": "module", "dependencies": { + "@devcontainers/cli": "^0.62.0", "@octokit/rest": "^20.1.1", "@types/node": "^20.12.12", "axios": "^1.7.2", diff --git a/services/rails_app/.devcontainer/devcontainer.json b/services/rails_app/.devcontainer/devcontainer.json index 0b3ad10..62a3551 100644 --- a/services/rails_app/.devcontainer/devcontainer.json +++ b/services/rails_app/.devcontainer/devcontainer.json @@ -1,7 +1,10 @@ { - "image": "ubuntu:24.04", + "name": "rails_app", + "service": "rails_app", + "dockerComposeFile": "docker-compose.yaml", "features": { "ghcr.io/devcontainers/features/git": {}, - "ghcr.io/devcontainers/features/ruby": { "version": "3.3.0-preview3" } + "ghcr.io/devcontainers/features/ruby": {}, + "ghcr.io/devcontainers/features/sshd": {} } } diff --git a/services/rails_app/.devcontainer/docker-compose.yaml b/services/rails_app/.devcontainer/docker-compose.yaml new file mode 100644 index 0000000..9e8d0ea --- /dev/null +++ b/services/rails_app/.devcontainer/docker-compose.yaml @@ -0,0 +1,7 @@ +services: + rails_app: + image: ubuntu:latest + command: sleep infinity + container_name: rails_app + volumes: + - ./:/workspaces/rails_app