mirror of
https://github.com/open-webui/open-terminal.git
synced 2026-11-04 08:10:53 +00:00
46 lines
1.1 KiB
Docker
46 lines
1.1 KiB
Docker
FROM python:3.12
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
# Core utilities
|
|
coreutils findutils grep sed gawk diffutils patch \
|
|
less file tree bc man-db \
|
|
# Networking
|
|
curl wget net-tools iputils-ping dnsutils netcat-openbsd socat telnet \
|
|
openssh-client rsync \
|
|
# Editors
|
|
vim nano \
|
|
# Version control
|
|
git \
|
|
# Build tools
|
|
build-essential cmake make \
|
|
# Scripting & languages
|
|
perl ruby-full lua5.4 \
|
|
# Data processing
|
|
jq xmlstarlet sqlite3 \
|
|
# Compression
|
|
zip unzip tar gzip bzip2 xz-utils zstd p7zip-full \
|
|
# System
|
|
procps htop lsof strace sysstat \
|
|
sudo tmux screen \
|
|
ca-certificates gnupg apt-transport-https \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
RUN pip install --no-cache-dir \
|
|
numpy pandas scipy scikit-learn \
|
|
matplotlib seaborn plotly \
|
|
jupyter ipython \
|
|
requests beautifulsoup4 lxml \
|
|
sqlalchemy psycopg2-binary \
|
|
pyyaml toml jsonlines \
|
|
tqdm rich
|
|
|
|
COPY . .
|
|
RUN pip install --no-cache-dir .
|
|
|
|
EXPOSE 8000
|
|
|
|
ENTRYPOINT ["open-terminal"]
|
|
CMD ["run"]
|