phamquiluan / Go5-Project

Extract Tabular data from Image to Excel files
32 stars 11 forks source link

added Docker RUN command in streamlit Dockerfile #23

Closed frvdh closed 10 months ago

frvdh commented 10 months ago

Upon running 'docker compose up --build' there was an error the first time concerning opencv: 'ImportError: libGL.so.1: cannot open shared object file: No such file or directory '.

The solution to this bug in my case was to add 'RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y' between the lines 'WORKDIR /code' and 'COPY requirements.txt /code' in the Dockerfile of the Streamlit folder.

phamquiluan commented 10 months ago

Thank you for the work, @frvdh @darkAndromeda9 :smile: