Skip to content

Commit

Permalink
Amend directory paths
Browse files Browse the repository at this point in the history
For gRPC data and python scripts
  • Loading branch information
n-jay committed Nov 20, 2023
1 parent b0fe3d6 commit e05eb27
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions samples/rqd/cuda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e05eb27

Please sign in to comment.