You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
495 B
Docker

FROM ubuntu:20.04
WORKDIR /root
COPY run.sh .
RUN apt update && apt install -y python3-pip git wget
RUN pip install --upgrade pip
RUN git clone --depth 1 https://github.com/naurril/SUSTechPOINTS.git
RUN cd SUSTechPOINTS && \
wget https://github.com/naurril/SUSTechPOINTS/releases/download/0.1/deep_annotation_inference.h5 -P algos/models && \
python3 -m pip install -r ./requirement.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
ENTRYPOINT ["/root/run.sh"]
EXPOSE 8081