randydev commited on
Commit
b4aced8
·
verified ·
1 Parent(s): 49b43b4
Files changed (1) hide show
  1. Dockerfile +2 -58
Dockerfile CHANGED
@@ -1,58 +1,2 @@
1
- FROM python:3.10
2
-
3
- WORKDIR /app
4
- WORKDIR /.cache
5
-
6
- RUN apt -qq update && \
7
- apt -qq install -y --no-install-recommends \
8
- ffmpeg \
9
- curl \
10
- git \
11
- gnupg2 \
12
- unzip \
13
- wget \
14
- xvfb \
15
- libxi6 \
16
- libgconf-2-4 \
17
- libappindicator3-1 \
18
- libxrender1 \
19
- libxtst6 \
20
- libnss3 \
21
- libatk1.0-0 \
22
- libxss1 \
23
- fonts-liberation \
24
- libasound2 \
25
- libgbm-dev \
26
- libu2f-udev \
27
- libvulkan1 \
28
- libgl1-mesa-dri \
29
- xdg-utils \
30
- python3-dev \
31
- python3-pip \
32
- libavformat-dev \
33
- libavcodec-dev \
34
- libavdevice-dev \
35
- libavfilter-dev \
36
- libavutil-dev \
37
- libswscale-dev \
38
- libswresample-dev \
39
- neofetch && \
40
- apt-get clean && \
41
- rm -rf /var/lib/apt/lists/
42
-
43
-
44
- COPY . .
45
- COPY requirements.txt .
46
- RUN pip3 install --upgrade pip setuptools
47
- RUN pip3 install -r requirements.txt
48
-
49
- RUN chown -R 1000:0 .
50
- RUN chmod 777 .
51
- RUN chown -R 1000:0 /app
52
- RUN chmod 777 /app
53
- RUN chown -R 1000:0 /.cache
54
- RUN chmod 777 /.cache
55
-
56
- EXPOSE 7860
57
-
58
- CMD ["bash", "-c", "python3 server.py & python3 -m chatbot"]
 
1
+ FROM rendyprojects/gemini-bot:dev
2
+ # todo