diff --git a/Dockerfile b/Dockerfile index 29e1828..ec8df5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -FROM debian:bullseye AS downloader +FROM debian:bookworm AS downloader WORKDIR /app RUN apt-get update && apt-get install -y wget -ARG GECKODRIVER_VERSION="v0.30.0" +ARG GECKODRIVER_VERSION="v0.33.0" ARG GECKODRIVER_FILENAME="geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz" RUN wget -q https://github.com/mozilla/geckodriver/releases/download/$GECKODRIVER_VERSION/$GECKODRIVER_FILENAME \ && tar xvf $GECKODRIVER_FILENAME \ && rm $GECKODRIVER_FILENAME -FROM python:3.10-slim-bullseye as final +FROM python:3.11-slim-bullseye as final RUN apt-get update && apt-get install -y firefox-esr COPY --from=downloader /app/geckodriver /usr/local/bin/geckodriver ARG OFX_VERSION