fix proto import in docker
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -18,7 +18,8 @@ RUN python -m grpc_tools.protoc \
|
||||
-I/app/proto \
|
||||
--python_out=/app/shared \
|
||||
--grpc_python_out=/app/shared \
|
||||
/app/proto/metrics.proto
|
||||
/app/proto/metrics.proto \
|
||||
&& sed -i 's/^import metrics_pb2/from shared import metrics_pb2/' /app/shared/metrics_pb2_grpc.py
|
||||
|
||||
COPY services/gateway /app/services/gateway
|
||||
COPY services/aggregator/__init__.py /app/services/aggregator/__init__.py
|
||||
|
||||
Reference in New Issue
Block a user