aboutsummaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly/dockerfile
blob: d8797d3897dc3985920366f4e5756bf02ff81df3 (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/

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

ENTRYPOINT /home/run/run.sh