Skip to content

Commit 678034c

Browse files
committed
replace Fedora with python-alpine in Dockerfile
1 parent f9e8278 commit 678034c

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

Dockerfile

+6-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
FROM fedora:latest
2-
MAINTAINER "Laurent Rineau" <[email protected]>
1+
FROM python:3.5.2-alpine
2+
MAINTAINER "Matjaž Finžgar" <[email protected]>
33

4-
RUN yum -y update
5-
RUN yum -y install python-pip && yum clean all
4+
WORKDIR /app
65

7-
ADD LICENSE requirements.txt webhooks.py config.json hooks /src/
8-
9-
RUN cd /src; pip install -r requirements.txt
6+
COPY . /app
7+
RUN pip install -r requirements.txt
108

119
EXPOSE 5000
12-
13-
WORKDIR /src
14-
CMD ["python", "/src/webhooks.py"]
10+
CMD ["python", "webhooks.py"]

0 commit comments

Comments
 (0)