From e05eb27059ef36406442d32d790fc7b3cd6db135 Mon Sep 17 00:00:00 2001 From: n-jay Date: Mon, 20 Nov 2023 22:59:12 +0530 Subject: [PATCH] Amend directory paths For gRPC data and python scripts --- samples/rqd/cuda/Dockerfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/samples/rqd/cuda/Dockerfile b/samples/rqd/cuda/Dockerfile index 9da7da134..6c868c3be 100644 --- a/samples/rqd/cuda/Dockerfile +++ b/samples/rqd/cuda/Dockerfile @@ -28,16 +28,14 @@ RUN python3.6 -m pip install -r requirements.txt RUN python3.6 -m grpc_tools.protoc \ -I=./proto \ - --python_out=./rqd/rqd/compiled_proto \ - --grpc_python_out=./rqd/rqd/compiled_proto \ + --python_out=./rqd/compiled_proto \ + --grpc_python_out=./rqd/compiled_proto \ ./proto/*.proto -RUN 2to3 -wn -f import rqd/rqd/compiled_proto/*_pb2*.py +RUN 2to3 -wn -f import rqd/compiled_proto/*_pb2*.py -RUN test -e VERSION || echo "$(cat VERSION.in)-custom" | tee VERSION - -RUN cd rqd && python3.6 setup.py test -RUN cd rqd && python3.6 setup.py install +RUN python3.6 setup.py test +RUN python3.6 setup.py install # RQD gRPC server EXPOSE 8444