This guide explains how to run Zip2LLMContext using Docker.
- Docker installed on your system
- Docker Compose (included with Docker Desktop)
# Build and start the container
docker compose up -d
# View logs
docker compose logs -f
# Stop the container
docker compose downThe app will be available at http://localhost:5700
# Build the image
docker build -t zip2llmcontext .
# Run the container
docker run -d -p 5700:5700 --name zip2context zip2llmcontext
# View logs
docker logs -f zip2context
# Stop the container
docker stop zip2context
docker rm zip2contextThe Docker image automatically:
- Installs all Node.js dependencies
- Builds the Next.js application
- Creates an optimized production image
No manual npm install required - just build and run!
By default, the app runs on port 5700. To change this:
-
Edit
compose.yaml:ports: - "YOUR_PORT:5700"
-
Or use Docker CLI:
docker run -d -p YOUR_PORT:5700 zip2llmcontext
You can add environment variables in compose.yaml:
environment:
- NODE_ENV=production
- PORT=5700
- YOUR_CUSTOM_VAR=valueFor production deployments:
- Use a reverse proxy (nginx, Caddy, Traefik) for HTTPS
- Set up proper logging and monitoring
- Configure resource limits in compose.yaml:
deploy: resources: limits: cpus: '1' memory: 1G
# Clean build with no cache
docker build --no-cache -t zip2llmcontext .# Check logs
docker compose logs
# Check container status
docker compose psChange the host port in compose.yaml or use:
docker run -d -p 5701:5700 zip2llmcontext