Skip to content

Commit f2f0b43

Browse files
committedSep 18, 2016
Add Dockerfile, update uwsgi
The older uwsgi failed to build in this setup.
1 parent 4db0f5c commit f2f0b43

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed
 

‎Dockerfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM python:2.7-alpine
2+
3+
RUN apk update
4+
RUN apk add git build-base
5+
RUN apk add linux-headers libffi-dev openssl-dev
6+
7+
WORKDIR /app
8+
9+
COPY requirements.txt requirements.txt
10+
11+
RUN pip install -r requirements.txt
12+
13+
COPY . .
14+
15+
EXPOSE 8080
16+
17+
CMD python pywb-webrecorder.py

‎requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#git+git://github.com/ikreymer/pywb.git@develop#egg=pywb-0.8.3
22
pywb==0.9.0
33
git+git://github.com/ikreymer/warcprox.git@dev.putmeta
4-
uwsgi==2.0.6
4+
uwsgi==2.0.13.1

0 commit comments

Comments
 (0)