This commit is contained in:
SergeantPanda 2025-03-04 08:09:45 -06:00
commit 53f3c07076
2 changed files with 2 additions and 4 deletions

View file

@ -141,8 +141,8 @@ SERVER_IP = "127.0.0.1"
CORS_ALLOW_ALL_ORIGINS = True
CORS_ALLOW_CREDENTIALS = True
CSRF_TRUSTED_ORIGINS = [
'http://*',
'https://*'
'http://*',
'https://*'
]
APPEND_SLASH = True

View file

@ -25,8 +25,6 @@ RUN apt-get update && \
pip install --no-cache-dir -r requirements-pytorch.txt && \
pip install --no-cache-dir -r requirements-sentence-transformers.txt && \
python manage.py collectstatic --noinput && \
echo "installing sentence-transformers" && \
pip install sentence-transformers==3.4.1 && \
cd /app/frontend && \
npm install && \
npm run build && \