Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -17,9 +17,6 @@ RUN git clone https://github.com/Li-Zhaoxi/AAMED.git && \
|
|
17 |
python setup.py build_ext --inplace && \
|
18 |
python setup.py install
|
19 |
|
20 |
-
# COPY test.py /opt/build/AAMED/python/
|
21 |
-
# RUN cd /opt/build/AAMED/python && python test.py
|
22 |
-
|
23 |
COPY . .
|
24 |
|
25 |
RUN pip install -r requirements.txt
|
@@ -29,4 +26,7 @@ RUN mkdir examples && \
|
|
29 |
for i in `seq 1 12`; do wget "https://raw.githubusercontent.com/memory-overflow/standard-ellipse-detection/master/images/test$i.jpg"; done && \
|
30 |
for file in 13.jpg 27.jpg 35.jpg 43.jpg 666.jpg 666_negative.jpg 666_positive.jpg different-polarity-detection_all.jpg im9933.jpg; do wget "https://github.com/AlanLuSun/High-quality-ellipse-detection/blob/master/pics/$file"; done
|
31 |
|
|
|
|
|
|
|
32 |
CMD ["python", "/opt/build/app.py"]
|
|
|
17 |
python setup.py build_ext --inplace && \
|
18 |
python setup.py install
|
19 |
|
|
|
|
|
|
|
20 |
COPY . .
|
21 |
|
22 |
RUN pip install -r requirements.txt
|
|
|
26 |
for i in `seq 1 12`; do wget "https://raw.githubusercontent.com/memory-overflow/standard-ellipse-detection/master/images/test$i.jpg"; done && \
|
27 |
for file in 13.jpg 27.jpg 35.jpg 43.jpg 666.jpg 666_negative.jpg 666_positive.jpg different-polarity-detection_all.jpg im9933.jpg; do wget "https://github.com/AlanLuSun/High-quality-ellipse-detection/blob/master/pics/$file"; done
|
28 |
|
29 |
+
COPY test.py /opt/build/AAMED/python/
|
30 |
+
RUN cd /opt/build/AAMED/python && python test.py
|
31 |
+
|
32 |
CMD ["python", "/opt/build/app.py"]
|