File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
# [START cloudrun_pubsub_dockerfile_python]
16
- # [START cloudrun_pubsub_dockerfile]
17
16
18
17
# Use the official Python image.
19
18
# https://hub.docker.com/_/python
@@ -41,5 +40,4 @@ COPY . ./
41
40
# Timeout is set to 0 to disable the timeouts of the workers to allow Cloud Run to handle instance scaling.
42
41
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app
43
42
44
- # [END cloudrun_pubsub_dockerfile]
45
43
# [END cloudrun_pubsub_dockerfile_python]
Original file line number Diff line number Diff line change @@ -20,11 +20,9 @@ FROM python:3.11
20
20
ENV PYTHONUNBUFFERED True
21
21
22
22
# [START cloudrun_system_package_ubuntu_dockerfile_python]
23
- # [START cloudrun_system_package_ubuntu]
24
23
RUN apt-get update -y && apt-get install -y \
25
24
graphviz \
26
25
&& apt-get clean
27
- # [END cloudrun_system_package_ubuntu]
28
26
# [END cloudrun_system_package_ubuntu_dockerfile_python]
29
27
30
28
# Copy application dependency manifests to the container image.
You can’t perform that action at this time.
0 commit comments