1
Fork 0
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:
wlinator 2024-09-02 11:47:16 -04:00
parent f9f9377583
commit 5fb58c274a
2 changed files with 10 additions and 4 deletions

1
.dockerignore Normal file
View file

@ -0,0 +1 @@
.venv/

View file

@ -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