revert snapshot version

This commit is contained in:
Saumya 2025-08-15 11:36:56 +05:30
parent c6446619f0
commit acd364c58c
5 changed files with 15 additions and 12 deletions

View File

@ -20,7 +20,7 @@ You can modify the sandbox environment for development or to add new capabilitie
```
cd backend/sandbox/docker
docker compose build
docker push kortix/suna:0.1.3.2
docker push kortix/suna:0.1.3.1
```
3. Test your changes locally using docker-compose

View File

@ -111,12 +111,15 @@ RUN npx playwright install chromium
# Verify installation
RUN node -e "import('playwright').then(() => console.log('Playwright installation verified')).catch(e => { console.error('Playwright verification failed:', e); process.exit(1); })"
WORKDIR /opt/templates/next-app
RUN npx --yes create-next-app@15.3.3 . --yes --typescript --tailwind --eslint --app --src-dir --import-alias "@/*" --use-pnpm
RUN npx --yes shadcn@2.6.3 init --yes -d --force
RUN npx --yes shadcn@2.6.3 add --all --yes
# Prewarm a Next 14 + shadcn template for fast scaffolding
WORKDIR /opt/templates
RUN mkdir -p /opt/templates && \
pnpm dlx create-next-app@14 next14-shadcn --ts --eslint --tailwind --app --src-dir --import-alias '@/*' --use-npm && \
cd /opt/templates/next14-shadcn && \
pnpm install --prefer-offline && \
npx shadcn@latest init -y || (printf '\n' | npx shadcn@latest init) && \
npx shadcn@latest add button card form input dropdown-menu dialog tabs sheet badge alert && \
pnpm install --prefer-offline
# Copy server script
COPY . /app

View File

@ -6,7 +6,7 @@ services:
dockerfile: ${DOCKERFILE:-Dockerfile}
args:
TARGETPLATFORM: ${TARGETPLATFORM:-linux/amd64}
image: kortix/suna:0.1.3.2
image: kortix/suna:0.1.3.1
ports:
- "6080:6080" # noVNC web interface
- "5901:5901" # VNC port

View File

@ -252,8 +252,8 @@ class Configuration:
STRIPE_PRODUCT_ID_STAGING: str = 'prod_SCgIj3G7yPOAWY'
# Sandbox configuration
SANDBOX_IMAGE_NAME = "kortix/suna:0.1.3.2"
SANDBOX_SNAPSHOT_NAME = "kortix/suna:0.1.3.2"
SANDBOX_IMAGE_NAME = "kortix/suna:0.1.3.1"
SANDBOX_SNAPSHOT_NAME = "kortix/suna:0.1.3.1"
SANDBOX_ENTRYPOINT = "/usr/bin/supervisord -n -c /etc/supervisor/conf.d/supervisord.conf"
# LangFuse configuration

View File

@ -669,8 +669,8 @@ class SetupWizard:
f"Visit {Colors.GREEN}https://app.daytona.io/dashboard/snapshots{Colors.ENDC}{Colors.CYAN} to create a snapshot."
)
print_info("Create a snapshot with these exact settings:")
print_info(f" - Name:\t\t{Colors.GREEN}kortix/suna:0.1.3.2{Colors.ENDC}")
print_info(f" - Snapshot name:\t{Colors.GREEN}kortix/suna:0.1.3.2{Colors.ENDC}")
print_info(f" - Name:\t\t{Colors.GREEN}kortix/suna:0.1.3.1{Colors.ENDC}")
print_info(f" - Snapshot name:\t{Colors.GREEN}kortix/suna:0.1.3.1{Colors.ENDC}")
print_info(
f" - Entrypoint:\t{Colors.GREEN}/usr/bin/supervisord -n -c /etc/supervisor/conf.d/supervisord.conf{Colors.ENDC}"
)