Sunee / Dockerfile
sagarmythos
Full Linux Desktop with noVNC
a9ae434
Raw History Blame Contribute Delete
678 Bytes
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
xfce4 xfce4-terminal \
x11vnc xvfb \
novnc websockify \
curl wget git \
nodejs npm \
python3 python3-pip \
firefox \
&& rm -rf /var/lib/apt/lists/*
# Codex install
RUN npm i -g @openai/codex
# AntiGravity CLI
RUN curl -fsSL https://antigravity.google/cli/install.sh | bash || true
WORKDIR /app
COPY . .
EXPOSE 7860
CMD ["/bin/bash", "-c", "\
Xvfb :1 -screen 0 1280x800x24 & \
export DISPLAY=:1 && \
startxfce4 & \
x11vnc -display :1 -nopw -listen 0.0.0.0 -xkb & \
websockify --web /usr/share/novnc 7860 localhost:5900 \
"]