Chita Cloud Logo

Docker Deployment

Deploy containerized applications to Chita Cloud

Overview

Deploy any Docker container to Chita Cloud with automatic scaling and zero-downtime deployments.

Dockerfile Example

FROM node:20-alpine
 
WORKDIR /app
 
COPY package*.json ./
RUN npm ci --only=production
 
COPY . .
 
EXPOSE 3000
 
CMD ["node", "server.js"]

Deployment

  1. Prepare your Dockerfile and application files
  2. Create a ZIP archive with your Dockerfile and code
  3. Click "Deploy" button at top of dashboard
  4. Select "Upload ZIP"
  5. Choose "Docker" as runtime
  6. Upload your ZIP file
  7. Configure exposed port
  8. Confirm deployment

Configuration

Set environment variables in the dashboard:

  1. Go to your service settings
  2. Navigate to "Environment Variables" tab
  3. Add variables (e.g., DATABASE_URL, REDIS_URL)
  4. Save and redeploy

Learn more about environment variable management.

Best Practices

  • Use multi-stage builds
  • Minimize image size
  • Use .dockerignore
  • Pin base image versions

Next Steps