Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 0 additions & 110 deletions examples/start_computer.py

This file was deleted.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["valk"]

[tool.hatch.build.targets.wheel.force-include]
"valk/static/viewer.html" = "valk/static/viewer.html"

[dependency-groups]
dev = [
"ruff>=0.9.4",
Expand Down
4 changes: 3 additions & 1 deletion valk-server/docker-examples/chromium-demo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Stage 1: Base image with system dependencies
FROM debian:bullseye-slim AS base

ENV DEBIAN_FRONTEND=noninteractive

# Install dependencies including Xvfb, Chromium, and X11/XCB libraries
Expand Down Expand Up @@ -62,6 +61,9 @@ FROM base

# Setup virtual display
ENV DISPLAY=:99
ENV DISPLAY_WIDTH=1280
ENV DISPLAY_HEIGHT=800
ENV DISPLAY_DEPTH=24

# VNC port
EXPOSE 5900
Expand Down
4 changes: 2 additions & 2 deletions valk-server/docker-examples/chromium-demo/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ log "IBus daemon started with PID: $IBUS_PID"

# Start Xvfb
log "Starting Xvfb..."
Xvfb $DISPLAY -screen 0 1920x1080x24 &
Xvfb $DISPLAY -screen 0 ${DISPLAY_WIDTH}x${DISPLAY_HEIGHT}x${DISPLAY_DEPTH} &
XVFB_PID=$!
log "Xvfb started with PID: $XVFB_PID"

Expand All @@ -38,7 +38,7 @@ log "X server wait complete"
log "Starting Chromium..."
chromium --no-sandbox \
--no-first-run \
--window-size=1920,1080 \
--window-size=$DISPLAY_WIDTH,$DISPLAY_HEIGHT \
--window-position=0,0 \
--start-maximized \
--disable-gpu \
Expand Down
Loading
Loading