Added back Dockerfile

This commit is contained in:
UrloMythus
2025-09-28 19:38:23 +02:00 Unverified
parent 8d14301989
commit 635dc6c163
+17
View File
@@ -0,0 +1,17 @@
FROM python:3.11-slim-bullseye
WORKDIR /app
ADD . /app
RUN apt-get update && \
apt-get install -y tesseract-ocr libtesseract-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir pytesseract
EXPOSE 8080
# Run run.py when the container launches
ENTRYPOINT ["python","run.py"]