FROM ubuntu:22.04 RUN apt-get -y update && apt-get -y install software-properties-common && apt-get -y install build-essential \ && add-apt-repository -y ppa:deadsnakes/ppa && apt-get -y install python3.10 && apt-get -y install python3-pip # Set home to the user's home directory ENV HOME=/home/ WORKDIR $HOME/app COPY . $HOME/app COPY ./packages.txt /code/packages.txt RUN xargs apt-get install -y