ERROR: (gcloud.app.deploy) Error Response: [9] Application startup error! Code: APP_CONTAINER_CRASHED

394 views
Skip to first unread message

Sarthak Tiwari

unread,
Jul 19, 2020, 1:44:55 PM7/19/20
to Google App Engine
i am trying to deploy Django project and get error

Updating service [default] (this may take several minutes)...failed.
ERROR: (gcloud.app.deploy) Error Response: [9]
Application startup error! Code: APP_CONTAINER_CRASHED
my dockerfile
RUN apt-get install -y python3-pip libgdal-dev locales

# Ensure locales configured correctly
RUN locale-gen en_IN.UTF-8
ENV LC_ALL='en_IN.UTF-8'

# Set python aliases for python3
RUN echo 'alias python=python3' >> ~/.bashrc
RUN echo 'alias pip=pip3' >> ~/.bashrc

# Update C env vars so compiler can find gdal
ENV CPLUS_INCLUDE_PATH=/usr/include/gdal
ENV C_INCLUDE_PATH=/usr/include/gdal

# This will install latest version of GDAL
RUN pip3 install GDAL==2.4.2

Denis T (Google Cloud Platform Support)

unread,
Jul 21, 2020, 12:03:18 PM7/21/20
to Google App Engine
Hello Sarthak,

Since the issue you are experiencing is technical and more user-specific, I would recommend you to post this question on StackOverflow attaching the content of Dockerfile you provided along with the minimum reproducible code - GCP Community Support documentation.
Reply all
Reply to author
Forward
0 new messages