https://github.com/moimhossain/netcore-grpc-docker-demo
A sample app that demostrates the gRPC on container
https://github.com/moimhossain/netcore-grpc-docker-demo
docker grpc grpc-net-core protobuf
Last synced: 3 months ago
JSON representation
A sample app that demostrates the gRPC on container
- Host: GitHub
- URL: https://github.com/moimhossain/netcore-grpc-docker-demo
- Owner: MoimHossain
- Created: 2019-08-14T11:14:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T02:35:08.000Z (over 3 years ago)
- Last Synced: 2024-12-31T03:14:52.402Z (5 months ago)
- Topics: docker, grpc, grpc-net-core, protobuf
- Language: C#
- Size: 27.5 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# netcore-grpc-docker-demo
A sample app that demostrates the gRPC on container# Build it
Do a nuget restore, make sure all the packages are downloaded.
Then use the PowerShell file `ProtoGen.ps1` to generate C# classes for Protocol buffer schema classes.
Now you should be able to compile and build.
# Container
You can build the linux container using the below command:
```
docker build -f .\LinuxDockerfile -t moimhossain/linux-netcore-console-app .
```Now you have the container, so you can run it as:
```
docker run --network host -it moimhossain/linux-netcore-console-app
```