From 17043722e152a4387d2d19335d2387224fc90f9d Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 29 Jun 2026 10:55:30 +0100 Subject: [PATCH] fix docker loading --- .dockerignore | 31 +++++++++++++++++++++++++++++++ deploy/nginx/dev.conf | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..57ecd686 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,31 @@ +# Ignore git and local environments +.git +.venv +venv +ENV +.vscode +.idea + +# Ignore Python caches and test artifacts +__pycache__/ +*.pyc +*.pyo +*.pyd +.pytest_cache/ +.coverage +htmlcov/ +.mypy_cache/ + +# Ignore local media and database files +media/ +media_testanatomy/ +backups/ +db.sqlite3 +*.log +logs/ + +# Ignore frontend dependencies and test suites in build context +**/node_modules/ +rts/node_modules/ +rts/tests/ +package-lock.json diff --git a/deploy/nginx/dev.conf b/deploy/nginx/dev.conf index 7f25adcf..228849af 100644 --- a/deploy/nginx/dev.conf +++ b/deploy/nginx/dev.conf @@ -19,7 +19,7 @@ server { #proxy_set_header Host $host; #proxy_redirect off; #proxy_buffering off; - alias /usr/src/app/rts; + alias /usr/src/app/rts/; } location /static/ {