File size: 769 Bytes
6bff907
5c2a531
 
 
6bff907
5c2a531
 
 
6bff907
5c2a531
6bff907
5c2a531
 
 
6bff907
 
 
5c2a531
6bff907
 
5c2a531
 
6bff907
5c2a531
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# Antigravity VS Code Robust Launcher
export HOME=/home/user
export SHELL=/bin/bash

# Ensure we are in the workspace
mkdir -p /home/user/workspace
cd /home/user/workspace

echo "--- STARTING ANTIGRAVITY VS CODE ---"

# We use --without-connection-token for ease of use in private spaces.
# If you want security, add --connection-token your_password
# --disable-chromium-sandbox is the most important flag for Docker.

antigravity serve-web \
    --host 0.0.0.0 \
    --port 7860 \
    --accept-server-license-terms \
    --without-connection-token \
    --disable-chromium-sandbox \
    --disable-gpu \
    --user-data-dir /home/user/.antigravity-server \
    --extensions-dir /home/user/.antigravity-extensions

echo "--- SERVER EXITED ---"
sleep infinity