-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (32 loc) · 836 Bytes
/
Dockerfile
File metadata and controls
37 lines (32 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM python:3.11-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
wget \
xvfb \
libxi6 \
libgconf-2-4 \
libnss3 \
libx11-xcb1 \
libxcb1 \
libxcomposite1 \
libxcursor1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libxrender1 \
libasound2 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libgtk-3-0 \
ca-certificates \
fonts-liberation \
curl \
libgbm1 \
libvulkan1 \
xdg-utils \
&& rm -rf /var/lib/apt/lists/*
RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
&& apt-get update && apt-get install -y ./google-chrome-stable_current_amd64.deb \
&& rm -f google-chrome-stable_current_amd64.deb
RUN pip install --no-cache-dir grok3api
CMD ["python", "-m", "grok3api.server"]