Skip to content

Commit 2447de8

Browse files
authored
Add DevContainer
1 parent 5fb4ae5 commit 2447de8

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Minimal devcontainer for openai-apps-sdk-examples
2+
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-18
3+
4+
# Install Python 3.10+
5+
RUN apt-get update && apt-get install -y python3 python3-pip python3-venv
6+
7+
# Install pnpm
8+
RUN npm install -g pnpm
9+
10+
# Set up workspace
11+
WORKDIR /workspaces/openai-apps-sdk-examples
12+
13+
# Default shell
14+
SHELL ["/bin/bash", "-c"]
15+
16+
# Minimal extensions (optional)
17+
# You can add extensions here if needed
18+
19+
# Expose ports for servers
20+
EXPOSE 4444 8000

.devcontainer/devcontainer.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "openai-apps-sdk-examples",
3+
"build": {
4+
"dockerfile": "Dockerfile"
5+
},
6+
"customizations": {
7+
"vscode": {
8+
"settings": {
9+
"terminal.integrated.shell.linux": "/bin/bash"
10+
},
11+
"extensions": []
12+
}
13+
},
14+
"forwardPorts": [4444, 8000],
15+
"postCreateCommand": "pnpm install"
16+
}

0 commit comments

Comments
 (0)