Add Dockerfile
Change-Id: Ia316144ab80d9a60c640eb4ee0a4b723bc5f344d
Related-PROD: PROD-30051
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..91fdcb1
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,25 @@
+FROM ubuntu:xenial
+
+WORKDIR /app
+
+# explicitly set user/group IDs
+RUN groupadd -r -g 999 sfnotifier && \
+ useradd -r -g sfnotifier -u 999 -m -s /sbin/nologin -d /app -c "sf-notifier user" sfnotifier
+
+# Install system requirements
+RUN apt-get update -qq && apt-get upgrade -y && \
+ apt-get install --no-install-recommends -y -q \
+ build-essential \
+ python2.7 \
+ python2.7-dev \
+ python-pip \
+ python-wheel \
+ python-setuptools \
+ curl git && \
+ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+
+COPY requirements.txt ./
+RUN pip install -r /app/requirements.txt
+
+COPY . .
+CMD ./entrypoint.sh