Skip to main content

Cloud Run Integration

Deploy containerized applications alongside your static content with Cloud Run.

Overview​

Cloud Run allows you to run any language or framework in a container, integrated seamlessly with Firebase Hosting.

Quick Start​

FROM node:16-alpine
WORKDIR /app
COPY . .
RUN npm ci --only=production
CMD ["npm", "start"]

Integration with Hosting​

{
"hosting": {
"rewrites": [{
"source": "/app/**",
"run": {
"serviceId": "my-app",
"region": "us-central1"
}
}]
}
}

Coming Soon​

This documentation is being expanded. For now, please refer to: