File size: 277 Bytes
f0b9b57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.8

# Path: /app
WORKDIR /app

# CACHE
COPY requirements.txt ./
RUN pip install -r requirements.txt

# CACHE GRPC
COPY requirements.grpc.txt ./
RUN pip install -r requirements.grpc.txt

COPY . ./
RUN ./grpc.sh

EXPOSE 50051

ENTRYPOINT [ "python", "./server.py" ]