FROM python:3.10 # Install Python and pip RUN apt-get update && apt-get install -y python3 python3-pip && apt install nano RUN apt-get update && apt-get install -y wget bzip2 libxtst6 libgtk-3-0 libx11-xcb-dev libdbus-glib-1-2 libxt6 libpci-dev && rm -rf /var/lib/apt/lists/* # Set the working directory in the container WORKDIR /app # Copy the dependencies file to the working directory COPY requirements.txt . # Install any dependencies RUN pip3 install -r requirements.txt # Copy the content of the local src directory to the working directory in the container COPY . .