-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (24 loc) · 794 Bytes
/
Dockerfile
File metadata and controls
32 lines (24 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM tensorflow/tensorflow:1.14.0-py3
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
--fix-missing \
build-essential \
git \
wget \
vim \
libopencv-dev \
ffmpeg \
&& apt-get clean && rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*
ADD $PWD/requirements.txt /requirements.txt
RUN pip3 install -r /requirements.txt
ENV PYTHONUNBUFFERED=TRUE
ENV PYTHONDONTWRITEBYTECODE=TRUE
RUN mkdir -p /inception/model/
RUN mkdir -p /inception/scripts/
RUN mkdir -p /inception/data/
RUN mkdir -p /inception/output/
ENV PATH=$PATH:/inception/scripts
WORKDIR /inception/scripts
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
EXPOSE 8080 8501