Vps3 / Dockerfile
proti0070's picture
Update Dockerfile
74810c8 verified
FROM kalilinux/kali-rolling
ENV DEBIAN_FRONTEND=noninteractive
ENV HOSTNAME=xro
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \
wget \
git \
sudo \
htop \
btop \
neovim \
nano \
tmux \
screen \
lsof \
net-tools \
nmap \
netcat-traditional \
whois \
dnsutils \
python3 \
python3-pip \
nodejs \
npm \
nginx \
&& rm -rf /var/lib/apt/lists/*
# ---- Node v20 ----
RUN npm install -g n && \
n 22 && \
hash -r
# ---- OpenClaw ----
RUN npm install -g openclaw@latest
# ---- ttyd ----
RUN curl -fsSL https://github.com/tsl0922/ttyd/releases/download/1.7.4/ttyd.x86_64 \
-o /usr/local/bin/ttyd && chmod +x /usr/local/bin/ttyd
WORKDIR /workspace
COPY start.sh /start.sh
COPY nginx.conf /etc/nginx/sites-enabled/default
RUN chmod +x /start.sh
EXPOSE 7860
CMD ["/start.sh"]