File size: 363 Bytes
e10a6a6 e5af374 6bb8feb 97847a3 e5af374 5ea7f97 dccc995 e5af374 97847a3 e5af374 99a8341 5ea7f97 dccc995 e10a6a6 99a8341 e10a6a6 6bb8feb e5af374 5ea7f97 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
RUN apt-get update && \
apt-get install -y python3 python3-pip bash && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip3 install --break-system-packages --no-cache-dir -r requirements.txt
COPY app.py .
EXPOSE 7860
CMD ["python3", "-u", "app.py"] |