FROM ubuntu:focal

RUN apt-get -y update -qq && \
    apt-get install -o APT::Install-Recommends="false" -o APT::Install-Suggests="false" -y \
    python3-setuptools python3-dev python3-pip && \
    apt-get clean

RUN pip3 install requests pandas osmium

RUN mkdir app
WORKDIR app
COPY . .

RUN chmod 0744 bal_2_osm.py

# Get the Métropole de Lyon database
# RUN wget --directory-prefix=app https://download.data.grandlyon.com/files/grandlyon/localisation/bal/bal_200046977.csv
