Initial commit - Stand 26.04.2026
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# OCR Backend Service
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Installiere Tesseract OCR
|
||||
RUN apk add --no-cache tesseract-ocr tesseract-ocr-data-deu
|
||||
|
||||
# Dependencies
|
||||
COPY package.json .
|
||||
RUN npm install
|
||||
|
||||
# App Code
|
||||
COPY . .
|
||||
|
||||
# Stelle sicher dass public-Verzeichnis existiert
|
||||
RUN mkdir -p public
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user