diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..3266615d --- /dev/null +++ b/.dockerignore @@ -0,0 +1,11 @@ +build/ +dist/ +.cache/ +.eggs/ +.git/ +**/*.egg +**/*.egg-info +**/__pycache__ +**/*.pyc + + diff --git a/Dockerfile b/Dockerfile index 6eed021a..3fc8617f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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