Skip to content

Commit

Permalink
Update Docker image for gRPC
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Jun 23, 2022
1 parent 1ee7ae3 commit b70d554
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ updates:
directory: "/test"
schedule:
interval: "daily"
- package-ecosystem: "pip"
directory: "/test/environment/grpc"
schedule:
interval: "daily"
11 changes: 10 additions & 1 deletion test/environment/grpc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
FROM grpc/python:1.13-onbuild
FROM python:3.10

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt

COPY . /usr/src/app

ENTRYPOINT ["python", "-u"]
CMD ["app.py"]
6 changes: 5 additions & 1 deletion test/environment/grpc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
#grpcio-tools
grpcio-tools==1.47.0
grpcio==1.47.0
grpcio-reflection==1.47.0
grpcio-health-checking==1.47.0
grpcio-testing==1.47.0

0 comments on commit b70d554

Please sign in to comment.