Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added protobufs instructions to Dockerfile #109

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

Wallen-Ribeiro
Copy link
Contributor

No description provided.

@Wallen-Ribeiro Wallen-Ribeiro marked this pull request as ready for review September 17, 2024 20:39

# Compile protobuf files
echo "Compiling protobuf files..."
protoc --python_out=generated ./protos/*.proto
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it's best to have ./protos/**/*.proto instead of just ./protos/*.proto.

With the ** we are able to better support a folder structure of proto files (for example, if we wanted to separate different .proto files in different folders.

@@ -7,6 +7,11 @@ until PGPASSWORD="${POSTGRES_PASSWORD}" psql -h "${POSTGRES_HOST}" -U "${POSTGRE
done
>&2 echo "PostgreSQL is up - executing command"

# Compile protobuf files
echo "Compiling protobuf files..."
protoc --python_out=generated -I=./protos/ ./protos/*.proto
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants