forked from AIZOOTech/flask-object-detection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (14 loc) · 669 Bytes
/
Copy pathDockerfile
File metadata and controls
18 lines (14 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM daocloud.io/library/ubuntu:18.04
MAINTAINER Vic Woo <wuhuang@outlook.com>
WORKDIR /workdir
COPY ./ ./
RUN sed -i 's/archive.ubuntu.com/mirrors.163.com/g' /etc/apt/sources.list \
&& apt-get update -qqy \
# && apt-get install -y build-essential cmake pkg-config libx11-dev libatlas-base-dev libgtk-3-dev libboost-python-dev python3.6-dev python3-pip wget\
&& apt-get install -y python3.6-dev python3-pip \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
&& apt-get clean \
&& pip3 install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ \
&& chmod 0777 -R /workdir
# CMD ["python3", "app.py"]
ENTRYPOINT ["./run.sh"]