aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-10-25 21:57:36 +0100
committerGravatar Chris Lovering <[email protected]>2022-12-11 13:46:18 +0000
commitff977c9adb77ddcc832013531dba0a4dcdc02ea0 (patch)
treeae2afc14b069da061fc8cd10aedf207fb47f28ad
parentAdd changelog for 3.11 and new decorator (diff)
Simplify docker-compose volumes
This is fine to do now, since we set POETRY_VIRTUALENVS_IN_PROJECT=false in python-poetry-base
-rw-r--r--docker-compose.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml
index 078ee6bb..51b4a698 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -68,9 +68,8 @@ services:
build:
context: .
dockerfile: dev/Dockerfile
- volumes: # Don't do .:/app here to ensure project venv from host doens't overwrite venv in image
- - ./pydis_core:/app/pydis_core:ro
- - ./bot:/app/bot:ro
+ volumes:
+ - .:/app:ro
tty: true
depends_on:
- web