Update 'Dockerfile'

This commit is contained in:
tkl 2020-01-08 12:00:02 +00:00
parent b26d4a3245
commit 9eddf2d437

View File

@ -6,9 +6,13 @@ 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/pip ]; then ln -f /usr/bin/pip3 /usr/bin/pip ; fi
RUN pip install --upgrade pip
RUN pip install cython
RUN pip install geopy gpxpy matplotlib numpy pandas
RUN pip install --upgrade pip && \
pip install cython && \
pip install numpy && \
pip install geopy && \
pip install gpxpy && \
pip install matplotlib && \
pip install pandas
RUN git clone https://git.blackfinn.de/python/bicycle-statistics.git
RUN cd bicycle-statistics && python setup.py install