make workspace path configurable via WORKSPACE_PATH env var
Defaults to '.' (current directory) if not set, so existing setups work unchanged. Override with: WORKSPACE_PATH=/my/path docker compose up
This commit is contained in:
1 parent
d3f7d4eacf
commit
23558ebe82
1 file changed
+1
-1
+1
-1
@@ -14,7 +14,7 @@ services:
|
|||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./server:/app:ro
|
- ./server:/app:ro
|
||||||
- ./workspace:/workspace
|
- ${WORKSPACE_PATH:-.}:/workspace
|
||||||
- pip-cache:/root/.cache/pip
|
- pip-cache:/root/.cache/pip
|
||||||
environment:
|
environment:
|
||||||
- PYTHONUNBUFFERED=1
|
- PYTHONUNBUFFERED=1
|
||||||
|
|||||||
Reference in new issue
Block a user