THEZYZSTUDIO commited on
Commit
77fb3c5
·
verified ·
1 Parent(s): a9e2990

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -53
Dockerfile DELETED
@@ -1,53 +0,0 @@
1
- FROM ubuntu:22.04
2
-
3
- ENV DEBIAN_FRONTEND=noninteractive
4
- ENV DISPLAY=:1
5
- ENV LC_ALL=C.UTF-8
6
-
7
- # Base packages + كل الأدوات المطلوبة بـ app.py
8
- RUN 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-apps \
18
- imagemagick \
19
- feh \
20
- ffmpeg \
21
- x11-xserver-utils \
22
- fonts-noto \
23
- fonts-noto-color-emoji \
24
- curl wget ca-certificates \
25
- software-properties-common \
26
- && apt-get clean && rm -rf /var/lib/apt/lists/*
27
-
28
- # Install Firefox from Mozilla PPA (stable on Ubuntu 22.04)
29
- RUN add-apt-repository ppa:mozillateam/ppa -y \
30
- && echo 'Package: *\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001' \
31
- > /etc/apt/preferences.d/mozilla-firefox \
32
- && apt-get update \
33
- && apt-get install -y firefox \
34
- && apt-get clean && rm -rf /var/lib/apt/lists/*
35
-
36
- # firefox-esr symlink — الـ AI يستدعي firefox-esr دائماً
37
- RUN ln -sf $(which firefox) /usr/local/bin/firefox-esr && \
38
- echo "firefox-esr → $(which firefox)" && \
39
- firefox-esr --version
40
-
41
- # Python dependencies
42
- COPY requirements.txt /app/requirements.txt
43
- RUN pip3 install --no-cache-dir -r /app/requirements.txt
44
-
45
- # App files
46
- WORKDIR /app
47
- COPY app.py /app/app.py
48
- COPY start.sh /app/start.sh
49
- RUN chmod +x /app/start.sh
50
-
51
- EXPOSE 7860
52
-
53
- CMD ["/app/start.sh"]