FROM ubuntu:24.04 LABEL authors="nikita.babich" WORKDIR /app RUN apt-get update RUN apt-get install -y --no-install-recommend python3 python3-pip python3-venv ca-certificates RUN rm -rf /var/lib/apt/lists/ RUN ln -sf /usr/bin/python3 /usr/local/bin/python COPY requirements.txt . RUN pip3 install --no-cache-dir -r requirements.txt COPY . . EXPOSE 8888 CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:8888", "app.app"]