Skip to content

Commit 6babaf8

Browse files
committed
Config files
0 parents  commit 6babaf8

3 files changed

Lines changed: 73 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/python
3+
{
4+
"name": "Python 3",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/python:1-3.12",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
// "features": {},
10+
11+
// Configure tool-specific properties.
12+
"customizations": {
13+
// Configure properties specific to VS Code.
14+
"vscode": {
15+
"settings": {},
16+
"extensions": [
17+
"streetsidesoftware.code-spell-checker"
18+
]
19+
}
20+
},
21+
22+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
23+
// "forwardPorts": [9000],
24+
25+
// Use 'portsAttributes' to set default properties for specific forwarded ports.
26+
// More info: https://containers.dev/implementors/json_reference/#port-attributes
27+
"portsAttributes": {
28+
"9000": {
29+
"label": "Hello Remote World",
30+
"onAutoForward": "notify"
31+
}
32+
},
33+
34+
// Use 'postCreateCommand' to run commands after the container is created.
35+
// "postCreateCommand": "pip3 install -r requirements.txt"
36+
37+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
38+
// "remoteUser": "root"
39+
}

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# For more details, see https://containers.dev/guide/dependabot
2+
version: 2
3+
updates:
4+
- package-ecosystem: "devcontainers"
5+
directory: "/"
6+
schedule:
7+
interval: weekly

.vscode/launch.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Python: Flask",
9+
"type": "python",
10+
"request": "launch"
11+
// "module": "flask",
12+
// "env": {
13+
// "FLASK_APP": "app.py",
14+
// "FLASK_ENV": "development",
15+
// "FLASK_DEBUG": "0"
16+
// },
17+
// "args": [
18+
// "run",
19+
// "--host","0.0.0.0",
20+
// "--port","9000",
21+
// "--no-debugger",
22+
// "--no-reload"
23+
// ],
24+
// "jinja": true
25+
}
26+
]
27+
}

0 commit comments

Comments
 (0)