Spaces:
Build error
Build error
Update Dockerfile
Browse files1234567891011121314151617181920212223FROM python:3.9# Встановлення системних залежностей для Tesseract OCRRUN apt-get update && apt-get install -y \tesseract-ocr \tesseract-ocr-ukr \libtesseract-dev \libleptonica-dev# Налаштування робочої директоріїWORKDIR /app# Копіювання файлу залежностейCOPY requirements.txt .# Встановлення Python-залежностейRUN pip install --no-cache-dir -r requirements.txt# Копіювання коду додаткаCOPY app.py .# Команда для запуску додаткаCMD ["python", "app.py"]123456789FROM python:3.9RUN apt-get update && apt-get install -y tesseract-ocr tesseract-ocr-ukrWORKDIR /appCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txtCOPY app.py .CMD ["python", "app.py"]
Dockerfile+1-15