We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9e8278 commit 678034cCopy full SHA for 678034c
1 file changed
Dockerfile
@@ -1,14 +1,10 @@
1
-FROM fedora:latest
2
-MAINTAINER "Laurent Rineau" <laurent.rineau@cgal.org>
+FROM python:3.5.2-alpine
+MAINTAINER "Matjaž Finžgar" <matjaz@finzgar.net>
3
4
-RUN yum -y update
5
-RUN yum -y install python-pip && yum clean all
+WORKDIR /app
6
7
-ADD LICENSE requirements.txt webhooks.py config.json hooks /src/
8
-
9
-RUN cd /src; pip install -r requirements.txt
+COPY . /app
+RUN pip install -r requirements.txt
10
11
EXPOSE 5000
12
13
-WORKDIR /src
14
-CMD ["python", "/src/webhooks.py"]
+CMD ["python", "webhooks.py"]
0 commit comments