Erinaldordso commited on
Commit
1f58b2d
·
verified ·
1 Parent(s): 234cd48

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -19
Dockerfile CHANGED
@@ -1,29 +1,12 @@
1
  FROM python:3.9-slim
2
-
3
  ENV DEBIAN_FRONTEND=noninteractive
4
-
5
- # 1. Instalar dependências do sistema, compiladores para IA (cmake, g++) e Xvfb
6
- RUN apt-get update && apt-get install -y \
7
- wget \
8
- curl \
9
- gnupg \
10
- xvfb \
11
- build-essential \
12
- cmake \
13
- --no-install-recommends
14
-
15
- # 2. Instalar Google Chrome
16
  RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
17
  RUN apt-get update && apt-get install -y ./google-chrome-stable_current_amd64.deb -f \
18
  && rm google-chrome-stable_current_amd64.deb \
19
  && rm -rf /var/lib/apt/lists/*
20
-
21
- # 3. Instalar bibliotecas Python (Hugging Face Hub e Llama-CPP para IA Local)
22
- RUN pip install --no-cache-dir requests pyvirtualdisplay seleniumbase huggingface_hub llama-cpp-python
23
-
24
  WORKDIR /app
25
  COPY . .
26
-
27
  EXPOSE 7860
28
-
29
  CMD ["python", "main.py"]
 
1
  FROM python:3.9-slim
 
2
  ENV DEBIAN_FRONTEND=noninteractive
3
+ RUN apt-get update && apt-get install -y wget curl gnupg xvfb --no-install-recommends
 
 
 
 
 
 
 
 
 
 
 
4
  RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
5
  RUN apt-get update && apt-get install -y ./google-chrome-stable_current_amd64.deb -f \
6
  && rm google-chrome-stable_current_amd64.deb \
7
  && rm -rf /var/lib/apt/lists/*
8
+ RUN pip install --no-cache-dir requests pyvirtualdisplay seleniumbase groq
 
 
 
9
  WORKDIR /app
10
  COPY . .
 
11
  EXPOSE 7860
 
12
  CMD ["python", "main.py"]