binary1ne commited on
Commit
d7d2934
·
verified ·
1 Parent(s): cf84deb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +26 -30
Dockerfile CHANGED
@@ -1,36 +1,32 @@
1
- # Use Python 3.11 as the base image.
2
- FROM python:3.11-slim
3
 
4
- # Set the working directory inside the container.
5
- WORKDIR /app
 
6
 
7
- # Install system dependencies required for Git and a minimal set for Playwright.
8
- # This list is based on the most common runtime dependencies for headless browsers.
9
- RUN apt-get update \
10
- && apt-get install -y --no-install-recommends \
 
 
11
  git \
12
- libnss3 \
13
- libdbus-1-3 \
14
- libatk1.0-0 \
15
- libatk-bridge2.0-0 \
16
- libdrm2 \
17
- libxcomposite1 \
18
- libxext6 \
19
- libxfixes3 \
20
- libxrandr2 \
21
- libgbm1 \
22
- libexpat1 \
23
- libfontconfig1 \
24
- libharfbuzz0b \
25
- libfreetype6 \
26
- libpng16-16 \
27
- libjpeg62-turbo \
28
- fonts-unifont \
29
- fonts-noto \
30
- fonts-dejavu-core \
31
- libxshmfence1 \
32
- && apt-get clean \
33
- && rm -rf /var/lib/apt/lists/*
34
 
35
  # Clone the web-ui repository from GitHub.
36
  RUN git clone https://github.com/browser-use/web-ui.git
 
1
+ FROM nvidia/cuda:12.5.1-cudnn-devel-ubuntu20.04
 
2
 
3
+ ENV DEBIAN_FRONTEND=noninteractive \
4
+ TZ=Asia/Kolkata \
5
+ PYTHONUNBUFFERED=1
6
 
7
+ # Install some basic utilities
8
+ RUN rm -f /etc/apt/sources.list.d/*.list && \
9
+ apt-get update && apt-get install -y --no-install-recommends \
10
+ curl \
11
+ ca-certificates \
12
+ sudo \
13
  git \
14
+ wget \
15
+ procps \
16
+ git-lfs \
17
+ zip \
18
+ unzip \
19
+ htop \
20
+ vim \
21
+ nano \
22
+ bzip2 \
23
+ libx11-6 \
24
+ build-essential \
25
+ libsndfile-dev \
26
+ python3-pip\
27
+ python3-venv\
28
+ software-properties-common \
29
+ && rm -rf /var/lib/apt/lists/*
 
 
 
 
 
 
30
 
31
  # Clone the web-ui repository from GitHub.
32
  RUN git clone https://github.com/browser-use/web-ui.git