diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..21d0b89 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.venv/ diff --git a/docker-compose.yml b/docker-compose.yml index beec21d..ff56dce 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file