Skip to content

Commit b449a55

Browse files
wlu2016Jon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Creating dockerfile for endpoints v2 sample
1 parent d194e98 commit b449a55

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM debian:jessie
2+
3+
RUN apt-get update && \
4+
apt-get install -y python2.7 python-pip && \
5+
apt-get clean && \
6+
rm /var/lib/apt/lists/*_*
7+
8+
ADD . /app
9+
WORKDIR /app
10+
11+
RUN pip install -r requirements.txt
12+
ENTRYPOINT ["gunicorn", "-b", ":8081", "main:app"]

0 commit comments

Comments
 (0)