[ Web Proxy ]
URL:
Viewing: https://cloud.google.com/docs/buildpacks/about-procfile [Back]  [Original]

About Procfiles  |  Buildpacks  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

About Procfiles Stay organized with collections Save and categorize content based on your preferences.

Use a Procfile to define the process that is invoked when a container starts. The Procfile can override the default start process for any language type. Procfile support is provided by the entrypoint buildpack.

Procfile name and location

The Procfile is always a plain text file without a file extension.

Google Cloud's buildpacks searches for a file named Procfile at the root folder of the project. The Procfile must live in your project's root directory and cannot be placed anywhere else.

Procfile format

A Procfile declares its process types on individual lines, each with the following format:

PROCESS_TYPE: COMMAND

Replace:

Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-08-11 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-11 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page