added basic Dockerfile and python script
This commit is contained in:
parent
671602879e
commit
11eed708b6
2 changed files with 14 additions and 0 deletions
13
src/recommendationservice/Dockerfile
Normal file
13
src/recommendationservice/Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM python:3.5-jessie
|
||||
|
||||
RUN pip --no-cache-dir install \
|
||||
grpcio
|
||||
|
||||
# show python logs as they occur
|
||||
ENV PYTHONUNBUFFERED=0
|
||||
|
||||
# add files into working directory
|
||||
ADD recommendation.py /home
|
||||
WORKDIR /home
|
||||
|
||||
ENTRYPOINT /usr/bin/python /home/recommendation.py
|
1
src/recommendationservice/recommendation.py
Normal file
1
src/recommendationservice/recommendation.py
Normal file
|
@ -0,0 +1 @@
|
|||
print("Hello World")
|
Loading…
Reference in a new issue