⬆️(docker) upgrade backend image to python 3.13

Python 3.13 is now stable, our libraries are compatible with it. We also
upgrade the alpine version used in order to fix CVE related to libxml2
This commit is contained in:
Manuel Raynaud
2025-05-16 10:21:33 +02:00
parent 6cd0cd0689
commit 0da042f887
5 changed files with 15 additions and 6 deletions

View File

@@ -410,5 +410,9 @@ def test_api_documents_attachment_upload_unsafe():
"is_unsafe": "true",
"status": "processing",
}
assert file_head["ContentType"] == "application/octet-stream"
# Depending the libmagic version, the content type may change.
assert file_head["ContentType"] in [
"application/x-dosexec",
"application/octet-stream",
]
assert file_head["ContentDisposition"] == 'attachment; filename="script.exe"'