forked from GoogleCloudPlatform/microservices-demo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
- Loading branch information
1 parent
432c546
commit 05381b3
Showing
14 changed files
with
2,460 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Use the grpc.io provided Python image as the base image | ||
FROM grpc/python:1.0 | ||
|
||
# show python logs as they occur | ||
ENV PYTHONUNBUFFERED=0 | ||
|
||
# install pip for python3 | ||
RUN apt-get -qqy update && \ | ||
apt-get -qqy install python3-pip | ||
|
||
# get packages | ||
WORKDIR /email_server | ||
COPY requirements.txt . | ||
RUN pip3 install -r requirements.txt | ||
|
||
# Add the application | ||
COPY . . | ||
|
||
EXPOSE 8080 | ||
ENTRYPOINT [ "python3", "email_server.py" ] |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.