Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files51 unmodified lines52535455565751 unmodified lines# Create directories for session storage, uploads, and cacheRUN mkdir -p /app/flask_sessions /app/uploads /tmp/matplotlib /tmp/transformers_cache && chmod -R 777 /app/flask_sessions /app/uploads /tmp/matplotlib /tmp/transformers_cache# Copy the rest of the application code to /appCOPY . /app/51 unmodified lines525354555657585960616251 unmodified lines# Create directories for session storage, uploads, and cacheRUN mkdir -p /app/flask_sessions /app/uploads /tmp/matplotlib /tmp/transformers_cache && chmod -R 777 /app/flask_sessions /app/uploads /tmp/matplotlib /tmp/transformers_cache#Set permission for the paddle OCRENV PADDLEOCR_MODEL_DIR=/tmp/.paddleocrRUN mkdir -p /tmp/.paddleocr && chmod -R 777 /tmp/.paddleocr# Copy the rest of the application code to /appCOPY . /app/
Dockerfile+5