diff --git a/Dockerfile b/Dockerfile index 71bad7f..a158a02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -ARG PYTHON_DEP='python3 python3-wheel python3-typing-extensions python3-pandas python3-plotly python3-six python3-dateutil python3-brotli python3-pycryptodome libatlas3-base python3-cryptography python3-scipy androguard' +ARG PYTHON_DEP='python3 python3-wheel python3-typing-extensions python3-pandas python3-six python3-dateutil python3-brotli python3-pycryptodome libatlas3-base python3-cryptography python3-scipy androguard python3-flask' -FROM debian:buster-slim AS builder +FROM debian:bullseye-slim AS builder ARG PYTHON_DEP RUN BUILD_DEP='python3-pip python3-setuptools python3-dev libblas-dev liblapack-dev gfortran libatlas3-base' ; \ apt-get update && apt-get install -y --no-install-recommends $BUILD_DEP $PYTHON_DEP; @@ -8,7 +8,7 @@ COPY . /psa_car_controller/ RUN pip3 install --system --no-cache-dir -r /psa_car_controller/requirements.txt EXPOSE 5000 -FROM debian:buster-slim +FROM debian:bullseye-slim ARG PYTHON_DEP WORKDIR /config ENV PSACC_BASE_PATH=/ PSACC_PORT=5000 PSACC_OPTIONS="-c -r --web-conf" PSACC_CONFIG_DIR="/config" diff --git a/requirements.txt b/requirements.txt index da9c649..17b3de9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,14 +4,14 @@ dash_daq plotly>=5 cryptography>=2.6 Werkzeug>=1.0.0 +flask>=1.0.4 +dash_bootstrap_components>=1 pandas oauth2_client requests pytz typing argparse -flask -dash_bootstrap_components>=1 geojson reverse_geocode androguard