Compare commits

..

2 Commits

Author SHA1 Message Date
32c43c13ce nicer webui 2024-08-03 12:09:16 +05:00
8b7830bddc updated image link 2024-08-03 05:30:29 +05:00
5 changed files with 4 additions and 4 deletions

View File

@@ -16,6 +16,6 @@ RUN rm -rf \
/var/lib/{apt,dpkg} \
/var/{cache,log,spool} \
/var/www/html/{.git,.build,README.md,env.example,docker-compose.yml,.gitignore}
RUN mkdir -p logs
RUN mkdir -p uploads && chmod 777 -R uploads/
CMD python3 -m http.server --cgi 8000 --directory public

View File

@@ -4,4 +4,4 @@ services:
context: ..
dockerfile: .build/Dockerfile
hostname: reciptocr
image: reciptocr
image: git.shihaam.dev/shihaam/recipt-ocr-api

View File

@@ -2,6 +2,6 @@ services:
#########################
reciptocr:
hostname: reciptocr
image: reciptocr
image: git.shihaam.dev/shihaam/recipt-ocr-api
ports:
- 8000:8000

View File

@@ -49,7 +49,7 @@
</head>
<body>
<h1>Upload Recipt</h1>
<form action="/cgi-bin/api.cgi" method="post" enctype="multipart/form-data">
<form action="/reciptocr/api.cgi" method="post" enctype="multipart/form-data">
<label for="file">Select an image (PNG or JPEG):</label>
<input type="file" name="file" id="file" accept=".png, .jpeg, .jpg">
<input type="submit" value="Upload">

0
uploads/.gitkeep Normal file
View File