Update Dockerfile

This commit is contained in:
Thomas Klaehn 2020-08-11 14:27:09 +02:00
parent 9eddf2d437
commit 82228120d9

View File

@ -6,13 +6,15 @@ RUN apk add --update --no-cache python3 python3-dev git build-base freetype-dev
if [ ! -e /usr/bin/python ]; then ln -f /usr/bin/python3 /usr/bin/python ; fi && \ if [ ! -e /usr/bin/python ]; then ln -f /usr/bin/python3 /usr/bin/python ; fi && \
if [ ! -e /usr/bin/pip ]; then ln -f /usr/bin/pip3 /usr/bin/pip ; fi if [ ! -e /usr/bin/pip ]; then ln -f /usr/bin/pip3 /usr/bin/pip ; fi
RUN apk add jpeg-dev zlib-dev
RUN pip install --upgrade pip && \ RUN pip install --upgrade pip && \
pip install cython && \ pip install cython && \
pip install numpy && \ pip install numpy && \
pip install geopy && \ pip install geopy && \
pip install gpxpy && \ pip install gpxpy && \
pip install matplotlib && \ pip install matplotlib && \
pip install pandas pip install pandas==1.0.0
RUN git clone https://git.blackfinn.de/python/bicycle-statistics.git RUN git clone https://git.blackfinn.de/python/bicycle-statistics.git
RUN cd bicycle-statistics && python setup.py install RUN cd bicycle-statistics && python setup.py install