THEZYZSTUDIO/Pcmodcomputer
0
1FROM ubuntu:22.042 3ENV DEBIAN_FRONTEND=noninteractive4ENV DISPLAY=:15ENV LC_ALL=C.UTF-86 7# Base packages + Firefox ESR مباشرة بدون PPA8RUN apt-get update && apt-get install -y \9 python3 python3-pip \10 xvfb \11 fluxbox \12 scrot \13 xdotool \14 xclip \15 xauth \16 x11-utils \17 x11-xserver-utils \18 imagemagick \19 fonts-noto \20 curl wget ca-certificates \21 firefox-esr \22 && apt-get clean && rm -rf /var/lib/apt/lists/*23 24# Verify firefox installed correctly25RUN firefox-esr --version || echo "Firefox ESR installed"26 27# Python dependencies28COPY requirements.txt /app/requirements.txt29RUN pip3 install --no-cache-dir -r /app/requirements.txt30 31# App files32WORKDIR /app33COPY app.py /app/app.py34COPY start.sh /app/start.sh35RUN chmod +x /app/start.sh36 37EXPOSE 786038 39CMD ["/app/start.sh"]40 