aboutsummaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly/dockerfile
blob: 970eafd529d0f6c871137da5395509f006730c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM tensorflow/serving:latest

WORKDIR /home/run/

RUN DEBIAN_FRONTEND=noninteractive apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install wget -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install unzip -y

RUN DEBIAN_FRONTEND=noninteractive apt-get install python3-pip python3-dev build-essential -y
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN ln -s /usr/bin/pip3 /usr/bin/pip

COPY requirements /home/run/requirements
RUN DEBIAN_FRONTEND=noninteractive pip install -r requirements

COPY scripts /home/run/scripts

COPY run.sh /home/run/run.sh

ENTRYPOINT /home/run/run.sh