Skip to content

Commit

Permalink
Add emailservice
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
  • Loading branch information
michaelawyu authored and ahmetb committed Jul 25, 2018
1 parent 432c546 commit 05381b3
Show file tree
Hide file tree
Showing 14 changed files with 2,460 additions and 0 deletions.
Binary file not shown.
Binary file added src/cartservice/.vs/cartservice/v15/.suo
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
20 changes: 20 additions & 0 deletions src/emailservice/Dockerfile
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" ]
1,750 changes: 1,750 additions & 0 deletions src/emailservice/demo_pb2.py

Large diffs are not rendered by default.

Loading

0 comments on commit 05381b3

Please sign in to comment.