Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -2,7 +2,6 @@ FROM python:3.9
|
|
2 |
|
3 |
RUN apt-get update && apt -y install curl gnupg libgl1-mesa-glx libglib2.0-0 && rm -rf /var/lib/apt/lists/*
|
4 |
|
5 |
-
# Install system packages
|
6 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
7 |
bzip2 \
|
8 |
g++ \
|
@@ -18,9 +17,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
18 |
# RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list
|
19 |
# RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && apt-get update && apt-get install -y python3-tflite-runtime && rm -rf /var/lib/apt/lists/*
|
20 |
|
21 |
-
|
22 |
|
23 |
-
RUN
|
|
|
|
|
24 |
|
25 |
RUN pip install Cython==0.29.36
|
26 |
|
|
|
2 |
|
3 |
RUN apt-get update && apt -y install curl gnupg libgl1-mesa-glx libglib2.0-0 && rm -rf /var/lib/apt/lists/*
|
4 |
|
|
|
5 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
6 |
bzip2 \
|
7 |
g++ \
|
|
|
17 |
# RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list
|
18 |
# RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && apt-get update && apt-get install -y python3-tflite-runtime && rm -rf /var/lib/apt/lists/*
|
19 |
|
20 |
+
RUN apt-get update && apt-get install -y python3-opencv
|
21 |
|
22 |
+
RUN ls -1al /usr/include/opencv4/opencv2/
|
23 |
+
|
24 |
+
# RUN pip install opencv-python mediapipe
|
25 |
|
26 |
RUN pip install Cython==0.29.36
|
27 |
|