-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
area: runtimeRuntime execution and agentsRuntime execution and agentspriority: mediumNice to haveNice to have
Description
Write a simple docker file like this and get it connected to CI to start pushing out and running.
FROM denoland/deno:latest
# Create working directory
WORKDIR /app
# Set default environment variables
ENV LIVESTORE_SYNC_URL=wss://anode-docworker.rgbkrk.workers.dev/api
# Cache the JSR package to improve startup time
RUN deno cache jsr:@runt/pyodide-runtime-agent@0.4.1
# Create cache directory for Pyodide packages
RUN mkdir -p /app/.runt/pyodide-cache
# Set permissions for cache directory
RUN chmod 755 /app/.runt/pyodide-cache
# Set HOME to app directory so cache utilities work correctly
ENV HOME=/app
# Run the pyodide runtime agent
CMD ["deno", "run", "--allow-all", "jsr:@runt/pyodide-runtime-agent@0.4.1"]
Note that anyone running this must set -e AUTH_TOKEN=... and their notebook id -e NOTEBOOK_ID=...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: runtimeRuntime execution and agentsRuntime execution and agentspriority: mediumNice to haveNice to have