chore: update Dockerfile and docker-compose for improved deployment process; add deploy script

This commit is contained in:
asepharyana
2026-07-05 22:06:52 +07:00
parent 20b622c4c2
commit bbf420759b
10 changed files with 236 additions and 23 deletions
+4 -1
View File
@@ -231,7 +231,10 @@ const handleJSONUpload = async (req: Request): Promise<Response> => {
const { base64Data, mimeType: rawMimeType } = parseBase64File(file);
const estimatedSizeBytes = Math.floor((base64Data.length * 3) / 4);
if (estimatedSizeBytes > JSON_UPLOAD_LIMIT_BYTES || estimatedSizeBytes > config.maxRequestBodyBytes) {
if (
estimatedSizeBytes > JSON_UPLOAD_LIMIT_BYTES ||
estimatedSizeBytes > config.maxRequestBodyBytes
) {
return Response.json(
{
error: