diff --git a/Dockerfile b/Dockerfile index 87562c0..90c6609 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM python:3.11.4-bookworm -ENV PYTHONBUFFERED 1 -ENV DEBIAN_FRONTEND noninteractive +ENV PYTHONBUFFERED=1 +ENV DEBIAN_FRONTEND=noninteractive WORKDIR /code COPY . /code/ @@ -10,7 +10,8 @@ COPY start.sh /code/ RUN chmod +x /code/start.sh # Install packages -RUN apt-get update && apt-get install -y graphviz libgraphviz-dev graphviz-dev wget zip +RUN apt update +RUN apt install -y graphviz libgraphviz-dev graphviz-dev wget zip RUN pip3 install --upgrade pip RUN pip3 install --no-cache-dir -r requirements.txt @@ -26,7 +27,7 @@ RUN pip3 install --no-cache-dir -r requirements.txt # && chmod +x /usr/bin/chromedriver # Install Firefox and Geckodriver -RUN apt-get update && apt-get install -y firefox-esr +RUN apt install -y firefox-esr # Download the latest Geckodriver and install it ENV GECKODRIVER_VERSION=latest RUN wget -O geckodriver.tar.gz https://github.com/mozilla/geckodriver/releases/download/v0.35.0/geckodriver-v0.35.0-linux64.tar.gz