Skip to content

Commit cb6e622

Browse files
committed
🔧 Update docker-compose.override.yml
1 parent c720408 commit cb6e622

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docker-compose.override.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ services:
6060
ports:
6161
- "8000:8000"
6262
build:
63-
context: ./backend
63+
context: .
64+
dockerfile: backend/Dockerfile
6465
# command: sleep infinity # Infinite loop to keep container alive doing nothing
6566
command:
6667
- fastapi
@@ -71,15 +72,15 @@ services:
7172
watch:
7273
- path: ./backend
7374
action: sync
74-
target: /app
75+
target: /app/backend
7576
ignore:
7677
- ./backend/.venv
7778
- .venv
7879
- path: ./backend/pyproject.toml
7980
action: rebuild
8081
# TODO: remove once coverage is done locally
8182
volumes:
82-
- ./backend/htmlcov:/app/htmlcov
83+
- ./backend/htmlcov:/app/backend/htmlcov
8384
environment:
8485
SMTP_HOST: "mailcatcher"
8586
SMTP_PORT: "1025"

0 commit comments

Comments
 (0)