Skip to content

Commit 05381b3

Browse files
michaelawyuahmetb
authored andcommitted
Add emailservice
Signed-off-by: Ahmet Alp Balkan <[email protected]>
1 parent 432c546 commit 05381b3

File tree

14 files changed

+2460
-0
lines changed

14 files changed

+2460
-0
lines changed
Binary file not shown.
5 KB
Binary file not shown.

src/cartservice/.vs/cartservice/v15/Server/sqlite3/db.lock

Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.

src/emailservice/Dockerfile

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Use the grpc.io provided Python image as the base image
2+
FROM grpc/python:1.0
3+
4+
# show python logs as they occur
5+
ENV PYTHONUNBUFFERED=0
6+
7+
# install pip for python3
8+
RUN apt-get -qqy update && \
9+
apt-get -qqy install python3-pip
10+
11+
# get packages
12+
WORKDIR /email_server
13+
COPY requirements.txt .
14+
RUN pip3 install -r requirements.txt
15+
16+
# Add the application
17+
COPY . .
18+
19+
EXPOSE 8080
20+
ENTRYPOINT [ "python3", "email_server.py" ]

src/emailservice/demo_pb2.py

+1,750
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)