fix dockerfile AS

This commit is contained in:
Gabriel Augendre 2024-10-14 20:20:29 +02:00
parent d8c9240808
commit c7acfcd099

View file

@ -7,7 +7,7 @@ RUN wget -q https://github.com/mozilla/geckodriver/releases/download/$GECKODRIVE
&& tar xvf $GECKODRIVER_FILENAME \ && tar xvf $GECKODRIVER_FILENAME \
&& rm $GECKODRIVER_FILENAME && rm $GECKODRIVER_FILENAME
FROM python:3.11-slim-bookworm as final FROM python:3.11-slim-bookworm AS final
RUN apt-get update && apt-get install -y firefox-esr RUN apt-get update && apt-get install -y firefox-esr
COPY --from=downloader /app/geckodriver /usr/local/bin/geckodriver COPY --from=downloader /app/geckodriver /usr/local/bin/geckodriver
ARG OFX_VERSION ARG OFX_VERSION