mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-02 16:43:12 +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
|
image: allthingslinux/tux:latest
|
||||||
container_name: tux
|
container_name: tux
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
develop:
|
||||||
- type: bind
|
watch:
|
||||||
source: .
|
- action: sync
|
||||||
target: /app/
|
path: .
|
||||||
|
target: /app/
|
||||||
|
ignore:
|
||||||
|
- .venv/
|
||||||
|
- action: rebuild
|
||||||
|
path: Dockerfile
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
Loading…
Reference in a new issue