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" ]