Skip to content

Commit

Permalink
fix: Add missing docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr0p42 committed May 6, 2024
1 parent 8a3b25c commit 0b76b06
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
services:
python:
build:
context: .
dockerfile: .docker/Dockerfile
volumes:
- .:/data
- .cache:/root/.cache
working_dir: /data/python
command:
- bash
- -c
- |
poetry install --with dev && \
poetry run python3 -m grpc_tools.protoc \
-I=../protos/ \
-I=../lib/protoc-gen-validate/validate/ \
--protobuf-to-pydantic_out=../python/naas_models/pydantic/ \
--python_out=../python/naas_models \
--go_out=../go \
--validate_out="lang=go:../go" \
space.proto registry.proto iam.proto aimodel.proto chat.proto credit.proto secret.proto storage.proto workspace.proto asset.proto validate.proto common.proto

0 comments on commit 0b76b06

Please sign in to comment.