Skip to content

Commit 7c28eb9

Browse files
authored
docs(run): update region tag (GoogleCloudPlatform#1216)
1 parent ecc5b5d commit 7c28eb9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

run/helloworld/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
# You may obtain a copy of the License at
66
#
77
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
8+
#
99
# Unless required by applicable law or agreed to in writing, software
1010
# distributed under the License is distributed on an "AS IS" BASIS,
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START cloudrun_helloworld_dockerfile]
1516
# [START run_helloworld_dockerfile]
1617

1718
# Use the official PHP image.
@@ -51,3 +52,4 @@ RUN sed -i 's/80/${PORT}/g' /etc/apache2/sites-available/000-default.conf /etc/a
5152
RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"
5253

5354
# [END run_helloworld_dockerfile]
55+
# [END cloudrun_helloworld_dockerfile]

run/helloworld/index.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
* limitations under the License.
1616
*/
1717

18+
// [START cloudrun_helloworld_service]
1819
// [START run_helloworld_service]
1920

2021
$name = getenv('NAME', true) ?: 'World';
2122
echo sprintf('Hello %s!', $name);
2223

2324
// [END run_helloworld_service]
25+
// [END cloudrun_helloworld_service]

0 commit comments

Comments
 (0)