Skip to content

Commit 5fb58c2

Browse files
committed
refactor: Update Docker config to use Compose Watch
1 parent f9f9377 commit 5fb58c2

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.venv/

docker-compose.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ services:
44
image: allthingslinux/tux:latest
55
container_name: tux
66
restart: always
7-
volumes:
8-
- type: bind
9-
source: .
10-
target: /app/
7+
develop:
8+
watch:
9+
- action: sync
10+
path: .
11+
target: /app/
12+
ignore:
13+
- .venv/
14+
- action: rebuild
15+
path: Dockerfile
1116
env_file:
1217
- .env

0 commit comments

Comments
 (0)