Skip to content

Commit dfdeced

Browse files
committed
Add docker-compose configuration for Python API and Node.js application
1 parent 1fc92e7 commit dfdeced

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docker-compose.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
services:
2+
python-api:
3+
image: mcr.microsoft.com/devcontainers/python:1-3.12-bookworm
4+
volumes:
5+
# Mount the root folder that contains .git
6+
- .:/workspace
7+
command: sleep infinity
8+
# ...
9+
10+
node-app:
11+
image: mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm
12+
volumes:
13+
# Mount the root folder that contains .git
14+
- .:/workspace
15+
command: sleep infinity
16+
# ...

0 commit comments

Comments
 (0)