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/alpine
3+ {
4+ "name" : " RAG Chat API" ,
5+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+ // "image": "mcr.microsoft.com/devcontainers/base:alpine-3.20",
7+ "build" : {
8+ // Use the Dockerfile at the root of the repository.
9+ "dockerfile" : " ../Dockerfile.dev" ,
10+ // Use docker-compose.yml at the root of the repository.
11+ // "dockerComposeFile": "docker-compose.yml",
12+ // Use a custom build context. More info: https://aka.ms/devcontainer-build-context
13+ "context" : " .."
14+ },
15+ "customizations" : {
16+ "vscode" : {
17+ // Add the IDs of extensions you want installed when the container is created.
18+ "extensions" : [
19+ " ms-python.python" ,
20+ " ms-python.vscode-pylance" ,
21+ " github.copilot" ,
22+ " github.copilot-chat" ,
23+ " ms-toolsai.jupyter" ,
24+ " ms-toolsai.jupyter-keymap" ,
25+ " ms-toolsai.jupyter-renderers" ,
26+ " ms-toolsai.jupyter-cell-tags"
27+ ]
28+ }
29+ },
30+ // Features to add to the dev container. More info: https://containers.dev/features.
31+ // "features": {},
32+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
33+ "forwardPorts" : [
34+ 80 ,
35+ 8000
36+ ],
37+ "workspaceFolder" : " /workspace" ,
38+ "workspaceMount" : " source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached"
39+ // Use 'postCreateCommand' to run commands after the container is created.
40+ // "postCreateCommand": "uname -a",
41+ // Configure tool-specific properties.
42+ // "customizations": {},
43+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
44+ // "remoteUser": "root"
45+ }
0 commit comments