1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

Dockerfile: add entire dir, use .dockerignore

This commit is contained in:
Ilya Kreymer 2016-11-11 14:26:24 -08:00
parent 4a94aefead
commit 169915ccc5
2 changed files with 12 additions and 3 deletions

11
.dockerignore Normal file
View File

@ -0,0 +1,11 @@
build/
dist/
.cache/
.eggs/
.git/
**/*.egg
**/*.egg-info
**/__pycache__
**/*.pyc

View File

@ -10,9 +10,7 @@ RUN pip install git+https://github.com/t0m/pyamf.git@python3
RUN pip install webassets pyyaml brotlipy
RUN mkdir /pywb
ADD setup.py /pywb
ADD README.rst /pywb
ADD ./pywb /pywb/pywb
ADD . /pywb
RUN cd pywb; python setup.py install
RUN mkdir /webarchive