Skip to content

Commit

Permalink
chore(cloudrun): migrate region tags for dockerfiles and yaml from ru…
Browse files Browse the repository at this point in the history
…n folder - part 2 (#13096)

* chore(cloudrun): migrate region tags in run/pubsub/Dockerfile

* chore(cloudrun): migrate region tags in run/system_package/Dockerfile
  • Loading branch information
eapl-gemugami authored Jan 24, 2025
1 parent 525fd52 commit f2ddd75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions run/pubsub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# [START cloudrun_pubsub_dockerfile_python]
# [START cloudrun_pubsub_dockerfile]
# [START run_pubsub_dockerfile]

# Use the official Python image.
# https://hub.docker.com/_/python
Expand Down Expand Up @@ -41,5 +41,5 @@ COPY . ./
# Timeout is set to 0 to disable the timeouts of the workers to allow Cloud Run to handle instance scaling.
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app

# [END run_pubsub_dockerfile]
# [END cloudrun_pubsub_dockerfile]
# [END cloudrun_pubsub_dockerfile_python]
4 changes: 2 additions & 2 deletions run/system-package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ FROM python:3.11
# Allow statements and log messages to immediately appear in the Cloud Run logs
ENV PYTHONUNBUFFERED True

# [START cloudrun_system_package_ubuntu_dockerfile_python]
# [START cloudrun_system_package_ubuntu]
# [START run_system_package_ubuntu]
RUN apt-get update -y && apt-get install -y \
graphviz \
&& apt-get clean
# [END run_system_package_ubuntu]
# [END cloudrun_system_package_ubuntu]
# [END cloudrun_system_package_ubuntu_dockerfile_python]

# Copy application dependency manifests to the container image.
# Copying this separately prevents re-running pip install on every code change.
Expand Down

0 comments on commit f2ddd75

Please sign in to comment.