MCPcopy Index your code
hub / github.com/angular/angularfire / dockerfile

Function dockerfile

src/schematics/deploy/functions-templates.ts:68–76  ·  view source on GitHub ↗
(
  options: DeployBuilderOptions,
)

Source from the content-addressed store, hash-verified

66`;
67
68export const dockerfile = (
69 options: DeployBuilderOptions,
70) => `FROM node:${options.functionsNodeVersion || DEFAULT_NODE_VERSION}-slim
71WORKDIR /usr/src/app
72COPY package*.json ./
73RUN npm install --only=production
74COPY . ./
75CMD [ "npm", "start" ]
76`;

Callers 1

deployToCloudRunFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected