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/ {