We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b196013 commit 846deb9Copy full SHA for 846deb9
run/helloworld/README.md
@@ -3,3 +3,20 @@
3
This sample demonstrates how to deploy a **Hello World** application to Cloud Run.
4
5
**View the [full tutorial](https://cloud.google.com/run/docs/quickstarts/build-and-deploy/deploy-php-service)**
6
+
7
+# Adding Composer
8
9
+To add composer to this example, add the following to the minimum `Dockerfile`
10
+included in this sample:
11
12
+```
13
+# composer prefers to use libzip and requires git for dev dependencies
14
+RUN apt-get update && apt-get install git libzip-dev -y
15
16
+# RUN docker-php-ext-configure zip --with-libzip
17
+RUN docker-php-ext-install zip
18
19
+# Install compoesr dependencies
20
+COPY --from=composer /usr/bin/composer /usr/bin/composer
21
+RUN composer install
22
0 commit comments