Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -19
Dockerfile
CHANGED
@@ -1,38 +1,21 @@
|
|
1 |
-
# FROM python:3.9
|
2 |
FROM jjanzic/docker-python3-opencv
|
3 |
|
4 |
-
# RUN apt-get update && apt -y install curl gnupg libgl1-mesa-glx libglib2.0-0 && rm -rf /var/lib/apt/lists/*
|
5 |
-
|
6 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
7 |
bzip2 \
|
8 |
g++ \
|
9 |
git \
|
10 |
-
# graphviz \
|
11 |
libgl1-mesa-glx \
|
12 |
libglib2.0-0 \
|
13 |
-
# libhdf5-dev \
|
14 |
-
# openmpi-bin \
|
15 |
wget \
|
16 |
-
# python3-tk && \
|
17 |
&& \
|
18 |
rm -rf /var/lib/apt/lists/*
|
19 |
|
20 |
-
# RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list
|
21 |
-
# 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/*
|
22 |
-
|
23 |
-
# RUN apt-get update && apt-get install -y python3-opencv
|
24 |
-
|
25 |
-
# RUN pip install opencv-python mediapipe
|
26 |
-
|
27 |
-
# RUN ls -1al /usr/local/include/python3.9
|
28 |
-
|
29 |
RUN pip install Cython==0.29.36
|
30 |
|
31 |
RUN git clone https://github.com/Li-Zhaoxi/AAMED.git && \
|
32 |
cd AAMED/python && \
|
33 |
python setup.py build_ext --inplace
|
34 |
|
35 |
-
COPY test.py /opt/build/AAMED/python/
|
36 |
-
|
37 |
-
RUN cd /opt/build/AAMED/python && python test.py
|
38 |
|
|
|
|
|
1 |
FROM jjanzic/docker-python3-opencv
|
2 |
|
|
|
|
|
3 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
4 |
bzip2 \
|
5 |
g++ \
|
6 |
git \
|
|
|
7 |
libgl1-mesa-glx \
|
8 |
libglib2.0-0 \
|
|
|
|
|
9 |
wget \
|
|
|
10 |
&& \
|
11 |
rm -rf /var/lib/apt/lists/*
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
RUN pip install Cython==0.29.36
|
14 |
|
15 |
RUN git clone https://github.com/Li-Zhaoxi/AAMED.git && \
|
16 |
cd AAMED/python && \
|
17 |
python setup.py build_ext --inplace
|
18 |
|
19 |
+
# COPY test.py /opt/build/AAMED/python/
|
20 |
+
# RUN cd /opt/build/AAMED/python && python test.py
|
|
|
21 |
|