Skip to content

Commit 745343c

Browse files
committed
bug: fix dev container startup issue
1 parent d70d521 commit 745343c

2 files changed

Lines changed: 19 additions & 4 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,26 @@
11
{
22
"name": "GitHub Process Manager",
3-
"dockerComposeFile": "../docker-compose.yml",
4-
"service": "app",
3+
"build": {
4+
"dockerfile": "../Dockerfile",
5+
"context": ".."
6+
},
57
"workspaceFolder": "/app",
68

9+
// Mount the workspace folder
10+
"mounts": [
11+
"source=${localWorkspaceFolder},target=/app,type=bind,consistency=cached",
12+
"source=github-process-manager-chroma,target=/app/chroma_db,type=volume",
13+
"source=github-process-manager-uploads,target=/app/uploads,type=volume",
14+
"source=github-process-manager-reports,target=/app/generated_reports,type=volume"
15+
],
16+
17+
// Run arguments
18+
"runArgs": [
19+
"--name=github-process-manager-devcontainer",
20+
"-e", "FLASK_ENV=development",
21+
"-e", "FLASK_DEBUG=True"
22+
],
23+
724
// Configure VS Code settings
825
"customizations": {
926
"vscode": {

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.8'
2-
31
services:
42
app:
53
build:

0 commit comments

Comments
 (0)