Skip to content

Commit

Permalink
feat: add dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed Apr 5, 2024
1 parent 32a44f5 commit 86b4042
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "text-to-speech",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
"features": {
"ghcr.io/devcontainers/features/sshd": {
"version": "latest"
}
},

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip3 install --user -r requirements.txt"

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
18 changes: 17 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,20 @@ updates:
groups:
python-packages:
patterns:
- "*"
- "*"
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: "weekly"
day: "thursday"
time: "10:30"
open-pull-requests-limit: 20
commit-message:
prefix: "deps"
include: "scope"
reviewers:
- njfamirm
labels:
- "ci"
- "priority-low"
- "maintenance"

0 comments on commit 86b4042

Please sign in to comment.