mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-02 08:39:09 +00:00
refactor: Update Docker config to use Compose Watch
This commit is contained in:
parent
f9f9377583
commit
5fb58c274a
2 changed files with 10 additions and 4 deletions
1
.dockerignore
Normal file
1
.dockerignore
Normal file
|
@ -0,0 +1 @@
|
|||
.venv/
|
|
@ -4,9 +4,14 @@ services:
|
|||
image: allthingslinux/tux:latest
|
||||
container_name: tux
|
||||
restart: always
|
||||
volumes:
|
||||
- type: bind
|
||||
source: .
|
||||
target: /app/
|
||||
develop:
|
||||
watch:
|
||||
- action: sync
|
||||
path: .
|
||||
target: /app/
|
||||
ignore:
|
||||
- .venv/
|
||||
- action: rebuild
|
||||
path: Dockerfile
|
||||
env_file:
|
||||
- .env
|
Loading…
Reference in a new issue