Skip to content

Commit 759b67e

Browse files
fvanderbiestcarlos-jenkins
authored andcommitted
fixed requirements, optimize docker layer caching
1 parent 45fda0d commit 759b67e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ MAINTAINER "Matjaž Finžgar" <[email protected]>
33

44
WORKDIR /app
55

6-
COPY . /app
6+
COPY requirements.txt /app
77
RUN pip install -r requirements.txt
88

9+
COPY . /app
10+
911
EXPOSE 5000
1012
CMD ["python", "webhooks.py"]

requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Flask
2-
ipaddress
3-
requests
1+
Flask==0.12.2
2+
ipaddress==1.0.18
3+
requests==2.18.2

0 commit comments

Comments
 (0)