FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

php-docs-samples/run/helloworld at main · shinigamitrinity/php-docs-samples · GitHub

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Hello World for Cloud Run

This sample demonstrates how to deploy a Hello World application to Cloud Run.

View the full tutorial

Adding Composer

To add composer to this example, add the following to the minimum Dockerfile included in this sample:

# composer prefers to use libzip and requires git for dev dependencies
RUN apt-get update && apt-get install git libzip-dev -y

# RUN docker-php-ext-configure zip --with-libzip
RUN docker-php-ext-install zip

# Install compoesr dependencies
COPY --from=composer /usr/bin/composer /usr/bin/composer
RUN composer install

Back | FazBrowse Home | New Git URL